Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/lib
Modified Files:
libevfs.c
Log Message:
* Create the concept of an 'evfs_stat', because 'struct stat' cannot be
portably transmitted between processes (because of byte-alignment)
* Checkin latest version of John Kha's FTP plugin. Note that there are still
some issues with directory listing here.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/lib/libevfs.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- libevfs.c 9 Nov 2005 09:56:34 -0000 1.21
+++ libevfs.c 9 Nov 2005 23:51:05 -0000 1.22
@@ -66,13 +66,15 @@
/*Execute callback if registered..*/
if (conn->callback_func) {
- evfs_event* ev = conn->prog_event;
- conn->prog_event = NULL; /*Detach
this event from the conn. Client is responsible for it now*/
+ evfs_event* ev = conn->prog_event;
-
+
+ conn->prog_event = NULL; /*Detach
this event from the conn. Client is responsible for it now*/
(*conn->callback_func)(ev);
+
+
/*Now cleanup the event we send
back*/
evfs_cleanup_event(ev);
} else {
@@ -104,7 +106,7 @@
return 0;
}
-evfs_connection* evfs_connect(void (*callback_func)(void*)) {
+evfs_connection* evfs_connect(void (*callback_func)(evfs_event*)) {
ecore_init();
ecore_ipc_init();
int connect_attempts = 0;
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs