summaryrefslogtreecommitdiff
path: root/src/ivyxtloop.h
diff options
context:
space:
mode:
authorjacomi1998-08-12 10:23:25 +0000
committerjacomi1998-08-12 10:23:25 +0000
commitd3b04f0209ea826c67a2ee84ced889ee907f49a0 (patch)
treee0900dda136b9a9f38ee7b412db427a7315b06dc /src/ivyxtloop.h
parent6ff2ef5124e1101f475ad87b178b925489de2845 (diff)
downloadivy-c-d3b04f0209ea826c67a2ee84ced889ee907f49a0.zip
ivy-c-d3b04f0209ea826c67a2ee84ced889ee907f49a0.tar.gz
ivy-c-d3b04f0209ea826c67a2ee84ced889ee907f49a0.tar.bz2
ivy-c-d3b04f0209ea826c67a2ee84ced889ee907f49a0.tar.xz
version relookee en ivy
Diffstat (limited to 'src/ivyxtloop.h')
-rw-r--r--src/ivyxtloop.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/ivyxtloop.h b/src/ivyxtloop.h
new file mode 100644
index 0000000..17e053f
--- /dev/null
+++ b/src/ivyxtloop.h
@@ -0,0 +1,40 @@
+#ifndef _IVYXTLOOP_H
+#define _IVYXTLOOP_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <X11/Intrinsic.h>
+
+/* general Handle */
+
+#define ANYPORT 0
+
+#ifdef WIN32
+#include <windows.h>
+#define HANDLE SOCKET
+#else
+#define HANDLE int
+#endif
+
+#include "ivychannel.h"
+
+extern void BusXtChannelInit(void);
+
+extern Channel BusXtChannelSetUp(
+ HANDLE fd,
+ void *data,
+ ChannelHandleDelete handle_delete,
+ ChannelHandleRead handle_read
+ );
+
+extern void BusXtChannelClose( Channel channel );
+
+extern void BusXtChannelAppContext( XtAppContext cntx );
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif