Enlightenment CVS committal Author : chaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/common Modified Files: evfs_io.c Log Message: * Yet more metadata work =================================================================== RCS file: /cvs/e/e17/apps/evfs/src/common/evfs_io.c,v retrieving revision 1.59 retrieving revision 1.60 diff -u -3 -r1.59 -r1.60 --- evfs_io.c 24 Jun 2006 15:01:50 -0000 1.59 +++ evfs_io.c 24 Jun 2006 16:59:02 -0000 1.60 @@ -674,6 +674,7 @@ case EVFS_CMD_DIRECTORY_CREATE: case EVFS_CMD_METADATA_RETRIEVE: case EVFS_CMD_METADATA_FILE_GET: + case EVFS_CMD_METADATA_FILE_SET: case EVFS_CMD_PING: evfs_write_file_command(conn, command); break; @@ -735,6 +736,7 @@ case EVFS_CMD_DIRECTORY_CREATE: case EVFS_CMD_METADATA_RETRIEVE: case EVFS_CMD_METADATA_FILE_GET: + case EVFS_CMD_METADATA_FILE_SET: case EVFS_CMD_PING: evfs_write_file_command_client(client, command); break; @@ -796,11 +798,19 @@ if (command->file_command.ref) { evfs_write_ecore_ipc_server_message(conn->server, ecore_ipc_message_new(EVFS_COMMAND, - EVFS_COMMAND_PART_FILECOMMAND_REF, + EVFS_COMMAND_PART_FILECOMMAND_REF1, 0,0,0,command->file_command.ref, strlen(command->file_command.ref)+1)); } + if (command->file_command.ref2) { + evfs_write_ecore_ipc_server_message(conn->server, + ecore_ipc_message_new(EVFS_COMMAND, + EVFS_COMMAND_PART_FILECOMMAND_REF2, + 0,0,0,command->file_command.ref2, + strlen(command->file_command.ref2)+1)); + } + } void @@ -835,11 +845,19 @@ if (command->file_command.ref) { evfs_write_ecore_ipc_client_message(client->client, ecore_ipc_message_new(EVFS_COMMAND, - EVFS_COMMAND_PART_FILECOMMAND_REF, + EVFS_COMMAND_PART_FILECOMMAND_REF1, client->id,0,0,command->file_command.ref, strlen(command->file_command.ref)+1)); } + if (command->file_command.ref2) { + evfs_write_ecore_ipc_client_message(client->client, + ecore_ipc_message_new(EVFS_COMMAND, + EVFS_COMMAND_PART_FILECOMMAND_REF2, + client->id,0,0,command->file_command.ref2, + strlen(command->file_command.ref2)+1)); + } + } /*----------------------------*/ @@ -864,6 +882,15 @@ case EVFS_COMMAND_CLIENTID: memcpy(&command->client_identifier, message->data, sizeof(long)); break; + + case EVFS_COMMAND_PART_FILECOMMAND_REF1: + command->file_command.ref = strdup(message->data); + break; + + case EVFS_COMMAND_PART_FILECOMMAND_REF2: + command->file_command.ref2 = strdup(message->data); + break; + case EVFS_FILE_REFERENCE: { //printf("Parsing URI: '%s'\n", message->data); 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