summaryrefslogtreecommitdiffabout
path: root/pumpkin/DaemonListener.h
Side-by-side diff
Diffstat (limited to 'pumpkin/DaemonListener.h') (more/less context) (ignore whitespace changes)
-rw-r--r--pumpkin/DaemonListener.h15
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 @@
+
+#import <Cocoa/Cocoa.h>
+#include <netinet/in.h>
+
+@class PumpKIN;
+@interface DaemonListener : NSObject {
+ CFSocketRef sockie;
+ PumpKIN *pumpkin;
+ CFRunLoopSourceRef runloopSource;
+}
+
++(DaemonListener*)listenerWithDefaults;
+-(void)callbackWithType:(CFSocketCallBackType)t addr:(CFDataRef)a data:(const void *)d;
+
+@end