Enlightenment CVS committal Author : chaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/lib Modified Files: evfs_commands.c Log Message: More vfolder search work =================================================================== RCS file: /cvs/e/e17/apps/evfs/src/lib/evfs_commands.c,v retrieving revision 1.45 retrieving revision 1.46 diff -u -3 -r1.45 -r1.46 --- evfs_commands.c 24 Aug 2007 00:49:47 -0000 1.45 +++ evfs_commands.c 24 Aug 2007 06:06:21 -0000 1.46 @@ -466,4 +466,28 @@ } +evfs_command* evfs_vfolder_create_command_new(char* name) +{ + evfs_command *command = evfs_client_command_new(); + long id = command->client_identifier; + command->type = EVFS_CMD_VFOLDER_CREATE; + + return command; +} + +void evfs_vfolder_command_entry_add(evfs_command* command, char type, char* name, char* value) +{ + EvfsVfolderEntry* entry = NEW(EvfsVfolderEntry); + entry->type = type; + if (name) entry->name = strdup(name); + if (value) entry->value = strdup(value); + + command->entries = evas_list_append(command->entries, entry); +} + +int evfs_vfolder_command_send(evfs_connection* conn, evfs_command* command) +{ + evfs_write_command(conn, command); + return command->client_identifier; +} ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs