Enlightenment CVS committal Author : lordchaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/plugins Modified Files: evfs_fs_posix.c Log Message: * Finished work on EVFS_CMD_STOPMON_FILE for posix plugin * Added evfs-config.in for library linking =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/plugins/evfs_fs_posix.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- evfs_fs_posix.c 16 Aug 2005 07:31:40 -0000 1.3 +++ evfs_fs_posix.c 16 Aug 2005 09:00:23 -0000 1.4 @@ -109,13 +109,38 @@ } - +/*The function root for evfs's plugin requests*/ void evfs_monitor_start(evfs_client* client, evfs_command* command) { /*printf("Received monitor request at plugin for %s..\n",command->file_command.files[0]->path );*/ posix_monitor_add(client, command); - +} + +void evfs_monitor_stop(evfs_client* client, evfs_command* command){ + Ecore_List* mon_list = ecore_hash_get(posix_monitor_hash, command->file_command.files[0]->path); + + printf("EVFS: POSIX: Stub - evfs_monitor_stop\n"); + + if (!mon_list) { + /*There is no one monitoring this - so this client can't be...*/ + return; + } else { + evfs_file_monitor* mon; + + ecore_list_goto_first(mon_list); + while ( (mon = ecore_list_current(mon_list))) { + if (mon->client == client) { + ecore_list_remove(mon_list); + evfs_cleanup_file_monitor(mon); + return; + } + + ecore_list_next(mon_list); + } + } + + } ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs