-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 @@ + +#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 |