Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/include
Modified Files:
evfs_misc.h evfs_server.h
Log Message:
* patch from Victor Kojouharov to pass a data object back on callback.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/include/evfs_misc.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- evfs_misc.h 10 Jan 2006 07:54:23 -0000 1.2
+++ evfs_misc.h 23 Jan 2006 10:59:33 -0000 1.3
@@ -31,7 +31,7 @@
void evfs_cleanup_client(evfs_client* client);
void evfs_disconnect(evfs_connection* connection);
-evfs_connection* evfs_connect(void (*callback_func)(evfs_event*));
+evfs_connection* evfs_connect(void (*callback_func)(evfs_event*, void*), void
*obj);
evfs_file_uri_path* evfs_parse_uri(char* uri);
void evfs_handle_command(evfs_client* client, evfs_command* command);
void evfs_handle_monitor_start_command(evfs_client* client, evfs_command*
command);
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/include/evfs_server.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evfs_server.h 10 Jan 2006 07:54:23 -0000 1.1
+++ evfs_server.h 23 Jan 2006 10:59:33 -0000 1.2
@@ -5,8 +5,9 @@
struct evfs_connection {
Ecore_Ipc_Server* server;
unsigned long id;
- void (*callback_func)(evfs_event* data);
+ void (*callback_func)(evfs_event* data, void *obj);
evfs_event* prog_event;
+ void *obj;
};
typedef struct evfs_server evfs_server;
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs