Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/lib


Modified Files:
        evfs_commands.c 


Log Message:
* IPC functions to add/remove a file to/from a group

===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/lib/evfs_commands.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- evfs_commands.c     17 Jul 2006 05:45:38 -0000      1.30
+++ evfs_commands.c     17 Jul 2006 14:45:09 -0000      1.31
@@ -344,3 +344,25 @@
    return id;
 
 }
+
+long 
+evfs_client_metadata_group_file_add(evfs_connection * conn, 
evfs_filereference* ref, char* group)
+{
+   evfs_command *command = evfs_client_command_new();
+   long id = command->client_identifier;
+   
+   command->type = EVFS_CMD_METADATA_FILE_GROUP_ADD;
+   command->file_command.num_files = 1;
+   command->file_command.files = malloc(sizeof(evfs_filereference *) * 1);
+   command->file_command.files[0] = ref;
+   command->file_command.ref = group;
+
+
+   evfs_write_command(conn, command);
+
+   free(command->file_command.files);
+   free(command);
+
+   return id;
+
+}




-------------------------------------------------------------------------
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

Reply via email to