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     91   		struct {
    92     92   			int executable;
    93     93   			off_t size;
    94     94   			char sha1[41];
    95     95   		} file;
    96     96   	} typeinfo;
    97     97   };
           98  +
           99  +struct appfs_sqlite3_query_cb_handle {
          100  +	struct appfs_children *head;
          101  +	int argc;
          102  +	const char *fmt;
          103  +};
    98    104   
    99    105   static appfs_os_t appfs_convert_os_fromString(const char *os) {
   100    106   	if (strcasecmp(os, "Linux") == 0) {
   101    107   		return(APPFS_OS_LINUX);
   102    108   	}
   103    109   
   104    110   	if (strcasecmp(os, "Darwin") == 0 || strcasecmp(os, "Mac OS") == 0 || strcasecmp(os, "Mac OS X") == 0) {
................................................................................
   386    392   	if (head != NULL) {
   387    393   		*children_count_p = head->counter + 1;
   388    394   	}
   389    395   
   390    396   	return(head);
   391    397   }
   392    398   
   393         -struct appfs_sqlite3_query_cb_handle {
   394         -	struct appfs_children *head;
   395         -	int argc;
   396         -	const char *fmt;
   397         -};
   398         -
   399    399   static int appfs_sqlite3_query_cb(void *_cb_handle, int columns, char **values, char **names) {
   400    400   	struct appfs_sqlite3_query_cb_handle *cb_handle;
   401    401   	struct appfs_children *obj;
   402    402   
   403    403   	cb_handle = _cb_handle;
   404    404   
   405    405   	obj = (void *) ckalloc(sizeof(*obj));