From 8a6c3c55a7b5ff2042ad6973ddd7ab73236de047 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Mon, 24 Nov 2008 10:51:54 +0100 Subject: Initial version Signed-off-by: Henrik Rydberg --- glib-abi.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 glib-abi.h (limited to 'glib-abi.h') diff --git a/glib-abi.h b/glib-abi.h new file mode 100644 index 0000000..62b85d5 --- /dev/null +++ b/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); + -- cgit v1.2.3