* The scheduler can now "wake up" a session to deliver async messages.
[citadel.git] / citadel / serv_extensions.h
index 6b645ca5a816dce3d519aaa45ed5fbe73e39dae2..bd0904e0d39f7b292900d697df119696f973e07c 100644 (file)
@@ -78,10 +78,14 @@ void CtdlUnregisterProtoHook(void (*handler)(char *), char *cmd);
 void CtdlRegisterServiceHook(int tcp_port,
                        char *sockpath,
                         void (*h_greeting_function) (void),
-                        void (*h_command_function) (void) ) ;
+                        void (*h_command_function) (void),
+                        void (*h_async_function) (void)
+       ) ;
 void CtdlUnregisterServiceHook(int tcp_port,
                        char *sockpath,
                         void (*h_greeting_function) (void),
-                        void (*h_command_function) (void) ) ;
+                        void (*h_command_function) (void),
+                        void (*h_async_function) (void)
+       ) ;
 
 #endif /* SERV_EXTENSIONS_H */