Enlightenment CVS committal Author : chaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/lib Modified Files: evfs_commands.c libevfs.c Log Message: * Yet more metadata work =================================================================== RCS file: /cvs/e/e17/apps/evfs/src/lib/evfs_commands.c,v retrieving revision 1.28 retrieving revision 1.29 diff -u -3 -r1.28 -r1.29 --- evfs_commands.c 10 Jun 2006 02:35:59 -0000 1.28 +++ evfs_commands.c 24 Jun 2006 16:59:02 -0000 1.29 @@ -279,3 +279,53 @@ } + +long +evfs_client_metadata_string_file_set(evfs_connection * conn, evfs_filereference* file, char* key,char* value ) +{ + evfs_command *command = evfs_client_command_new(); + long id = command->client_identifier; + + command->type = EVFS_CMD_METADATA_FILE_SET; + + command->file_command.num_files = 1; + command->file_command.files = malloc(sizeof(evfs_filereference *) * 1); + command->file_command.files[0] = file; + command->file_command.ref = key; + command->file_command.ref2 = value; + + + evfs_write_command(conn, command); + + free(command->file_command.files); + free(command); + + + return id; + +} + +long +evfs_client_metadata_string_file_get(evfs_connection * conn, evfs_filereference* file, char* key ) +{ + evfs_command *command = evfs_client_command_new(); + long id = command->client_identifier; + + command->type = EVFS_CMD_METADATA_FILE_GET; + + command->file_command.num_files = 1; + command->file_command.files = malloc(sizeof(evfs_filereference *) * 1); + command->file_command.files[0] = file; + command->file_command.ref = key; + + + evfs_write_command(conn, command); + + free(command->file_command.files); + free(command); + + + return id; + +} + =================================================================== RCS file: /cvs/e/e17/apps/evfs/src/lib/libevfs.c,v retrieving revision 1.40 retrieving revision 1.41 diff -u -3 -r1.40 -r1.41 --- libevfs.c 24 Jun 2006 15:01:50 -0000 1.40 +++ libevfs.c 24 Jun 2006 16:59:02 -0000 1.41 @@ -170,7 +170,7 @@ evfs_io_initialise(); evfs_vfolder_initialise(); - evfs_metadata_init(); + evfs_metadata_initialise(); if (!_libevfs_init) { Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs