-rw-r--r-- | pumpkin/DaemonListener.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pumpkin/DaemonListener.h b/pumpkin/DaemonListener.h new file mode 100644 index 0000000..1bb6f2a --- a/dev/null +++ b/pumpkin/DaemonListener.h | |||
@@ -0,0 +1,15 @@ | |||
1 | |||
2 | #import <Cocoa/Cocoa.h> | ||
3 | #include <netinet/in.h> | ||
4 | |||
5 | @class PumpKIN; | ||
6 | @interface DaemonListener : NSObject { | ||
7 | CFSocketRef sockie; | ||
8 | PumpKIN *pumpkin; | ||
9 | CFRunLoopSourceRef runloopSource; | ||
10 | } | ||
11 | |||
12 | +(DaemonListener*)listenerWithDefaults; | ||
13 | -(void)callbackWithType:(CFSocketCallBackType)t addr:(CFDataRef)a data:(const void *)d; | ||
14 | |||
15 | @end | ||