summaryrefslogtreecommitdiff
path: root/c/clientwrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/clientwrap.h')
-rw-r--r--c/clientwrap.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/c/clientwrap.h b/c/clientwrap.h
new file mode 100644
index 00000000..b20ca914
--- /dev/null
+++ b/c/clientwrap.h
@@ -0,0 +1,19 @@
+#ifndef __clientwrap_h
+#define __clientwrap_h
+
+#include <Python.h>
+
+struct Client;
+
+/* ClientWrap is a PyObject */
+typedef struct ClientWrap {
+ PyObject_HEAD
+ struct Client *client;
+} ClientWrap;
+
+void clientwrap_startup();
+void clientwrap_shutdown();
+
+PyObject *clientwrap_new(struct Client *client);
+
+#endif