icd/icd_context.h

Go to the documentation of this file.
00001 #ifndef ICD_CONTEXT_H
00002 #define ICD_CONTEXT_H
00003 
00017 #include <glib.h>
00018 
00020 struct icd_context {
00022   gboolean daemon;
00024   guint shutting_down;
00026   GMainLoop *main_loop;
00027 
00029   GSList *policy_module_list;
00030 
00032   GSList *request_list;
00033 
00035   GSList *nw_module_list;
00037   GHashTable *type_to_module;
00038 
00040   GSList *srv_module_list;
00042   GHashTable *srv_type_to_srv_module;
00044   GHashTable *nw_type_to_srv_module;
00045 
00047   guint idle_timer_notify;
00048 
00050   guint iap_deletion_notify;
00051 };
00052 
00053 gboolean icd_context_init (void);
00054 struct icd_context *icd_context_get(void);
00055 void icd_context_run(void);
00056 void icd_context_stop(void);
00057 void icd_context_destroy (void);
00058 
00061 #endif

Generated on Tue Feb 24 16:21:36 2009 for ICd2 by  doxygen 1.5.1