summaryrefslogtreecommitdiff
path: root/exlib.h
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2010-04-15 06:17:12 -0400
committerSøren Sandmann Pedersen <ssp@redhat.com>2010-04-15 06:17:12 -0400
commit669fece3ac2ea75480ffe0e116225ff32ec54f5f (patch)
treeb695ed150d1b957e8572d351e0342187129e51cf /exlib.h
Initial check-inHEADmaster
Diffstat (limited to 'exlib.h')
-rw-r--r--exlib.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/exlib.h b/exlib.h
new file mode 100644
index 0000000..60b0ff4
--- /dev/null
+++ b/exlib.h
@@ -0,0 +1,23 @@
+typedef struct ExlConnection ExlConnection;
+typedef struct ExlEvent ExlEvent;
+
+typedef void (* ExlErrorFunction) (ExlConnection * connection,
+ ExlError * error);
+
+typedef void (* ExlEventFunction) (ExlConnection * connection,
+ ExlEvent * event);
+
+ExlConnection *exl_connection_new (const char *display);
+void exl_connection_close (ExlConnection *connection);
+void exl_connection_free (ExlConnection *connection);
+int exl_connection_get_fd (ExlConnection *connection);
+void exl_connection_set_event_function (ExlConnection *connection,
+ ExlEventFunction *event_function);
+void exl_connection_set_error_function (ExlConnection *connection,
+ ExlErrorFunction *error_function);
+void exl_connection_flush (ExlConnection *connection);
+void exl_connection_process_callbacks (ExlConnection *connection);
+
+#include <exl/exl-core.h>
+#include <exl/exl-render.h>
+#include <exl/exl-sync.h>