summaryrefslogtreecommitdiff
path: root/src/ivyloop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ivyloop.h')
-rw-r--r--src/ivyloop.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/ivyloop.h b/src/ivyloop.h
index 9aa3bc9..ccc13d8 100644
--- a/src/ivyloop.h
+++ b/src/ivyloop.h
@@ -31,18 +31,19 @@ extern "C" {
#define HANDLE int
#endif
-extern void IvyChannelInit(void);
-extern void IvyChannelStop(void);
+
+
extern void IvyMainLoop(void(*hook)(void) );
+
+extern void IvyChannelInit(void);
+extern void IvyChannelClose( Channel channel );
extern Channel IvyChannelSetUp(
HANDLE fd,
void *data,
ChannelHandleDelete handle_delete,
- ChannelHandleRead handle_read
-);
+ ChannelHandleRead handle_read);
-extern void IvyChannelClose( Channel channel );
#ifdef __cplusplus