1 #ifndef SAMBA_COMMON_H 2 #define SAMBA_COMMON_H 3 4 #define QUERY_DONE 0x01 5 #define QUERY_LOADED 0x02 6 #define QUERY_ACTIVE 0x04 7 8 #define RESOLVE_DONE 0x10 9 #define RESOLVE_LOADED 0x20 10 #define RESOLVE_ACTIVE 0x40 11 12 #define RELOAD 0x100 13 #define PARSE 0x200 14 #define DELAY_MONITOR 0x400 15 16 typedef struct smb_data_t{ 17 view_t *view_p; // view to which this plugin_data belongs to 18 xfdir_t *xfdir_p; // xfdir structure which contains view content 19 gint condition; 20 gboolean parse; 21 GMutex *mutex; 22 GCond *signal; 23 GSList *list; 24 }smb_data_t; 25 #endif 26 27