Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/include
Modified Files:
evfs.h
Log Message:
HAd to change from union to struct for event - evfs_command is variable size
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/include/evfs.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- evfs.h 8 Oct 2005 01:53:25 -0000 1.13
+++ evfs.h 8 Oct 2005 04:23:07 -0000 1.14
@@ -151,6 +151,8 @@
EVFS_FILE_EV_REMOVE
} evfs_file_monitor_type;
+
+/*-----------------------------------------------------------------*/
typedef struct evfs_event_id_notify evfs_event_id_notify;
struct evfs_event_id_notify {
evfs_eventtype type;
@@ -169,7 +171,6 @@
int filename_len;
};
-
typedef struct evfs_event_stat evfs_event_stat;
struct evfs_event_stat {
evfs_eventtype type;
@@ -180,16 +181,20 @@
};
-
-typedef union evfs_event {
+//Would be good if this could be a union -> but evfs_command changes size :( */
+typedef struct evfs_event {
evfs_eventtype type;
- evfs_command resp_command;
+ evfs_command resp_command;
+
evfs_event_id_notify id_notify;
evfs_event_file_monitor file_monitor;
evfs_event_stat stat;
+
+
}
evfs_event;
+/*---------------------------------------------------------------------*/
typedef struct evfs_connection evfs_connection;
struct evfs_connection {
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs