Check-in [1f01cf90b5]
Overview
Comment:Reorganized
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1f01cf90b519ebbc499d2c3f17519ee1ce2bbbc8
User & Date: rkeene on 2014-09-10 04:02:35
Other Links: manifest | tags
Context
2014-09-10
07:22
Renamed fuse daemon as "appfsd" check-in: 0e19d8e3c2 user: rkeene tags: trunk
04:02
Reorganized check-in: 1f01cf90b5 user: rkeene tags: trunk
04:01
Reduced redundant code check-in: 041086f3fb user: rkeene tags: trunk
Changes

Modified appfs.c from [3c07efd857] to [c11522a03a].

91
92
93
94
95
96
97






98
99
100
101
102
103
104
...
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
		struct {
			int executable;
			off_t size;
			char sha1[41];
		} file;
	} typeinfo;
};







static appfs_os_t appfs_convert_os_fromString(const char *os) {
	if (strcasecmp(os, "Linux") == 0) {
		return(APPFS_OS_LINUX);
	}

	if (strcasecmp(os, "Darwin") == 0 || strcasecmp(os, "Mac OS") == 0 || strcasecmp(os, "Mac OS X") == 0) {
................................................................................
	if (head != NULL) {
		*children_count_p = head->counter + 1;
	}

	return(head);
}

struct appfs_sqlite3_query_cb_handle {
	struct appfs_children *head;
	int argc;
	const char *fmt;
};

static int appfs_sqlite3_query_cb(void *_cb_handle, int columns, char **values, char **names) {
	struct appfs_sqlite3_query_cb_handle *cb_handle;
	struct appfs_children *obj;

	cb_handle = _cb_handle;

	obj = (void *) ckalloc(sizeof(*obj));







>
>
>
>
>
>







 







<
<
<
<
<
<







91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
...
392
393
394
395
396
397
398






399
400
401
402
403
404
405
		struct {
			int executable;
			off_t size;
			char sha1[41];
		} file;
	} typeinfo;
};

struct appfs_sqlite3_query_cb_handle {
	struct appfs_children *head;
	int argc;
	const char *fmt;
};

static appfs_os_t appfs_convert_os_fromString(const char *os) {
	if (strcasecmp(os, "Linux") == 0) {
		return(APPFS_OS_LINUX);
	}

	if (strcasecmp(os, "Darwin") == 0 || strcasecmp(os, "Mac OS") == 0 || strcasecmp(os, "Mac OS X") == 0) {
................................................................................
	if (head != NULL) {
		*children_count_p = head->counter + 1;
	}

	return(head);
}







static int appfs_sqlite3_query_cb(void *_cb_handle, int columns, char **values, char **names) {
	struct appfs_sqlite3_query_cb_handle *cb_handle;
	struct appfs_children *obj;

	cb_handle = _cb_handle;

	obj = (void *) ckalloc(sizeof(*obj));