aboutsummaryrefslogtreecommitdiffstats
path: root/src/glib-abi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glib-abi.h')
-rw-r--r--src/glib-abi.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/glib-abi.h b/src/glib-abi.h
new file mode 100644
index 0000000..62b85d5
--- /dev/null
+++ b/src/glib-abi.h
@@ -0,0 +1,19 @@
+/*
+ * GLIB ABI
+ *
+ * The following is all glib information needed in order to compile
+ * a hald-addon.
+ */
+
+/* logical values */
+const int TRUE = 1;
+const int FALSE;
+
+/* Structure declarations */
+struct GMainContext;
+struct GMainLoop;
+
+/* Function declarations */
+struct GMainLoop *g_main_loop_new(struct GMainContext *context, int is_running);
+void g_main_loop_run(struct GMainLoop *loop);
+