]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_extensions.h
* Removed "Log Hooks." This enabled the removal of a buf[SIZ] in lprintf,
[citadel.git] / citadel / serv_extensions.h
index 6b645ca5a816dce3d519aaa45ed5fbe73e39dae2..1a2ed6028606616d3618b8854b6713d53a52c1bc 100644 (file)
@@ -12,6 +12,7 @@
  */
 char *serv_bio_init(void);
 char *serv_calendar_init(void);
+char *serv_notes_init(void);
 char *serv_ldap_init(void);
 char *serv_chat_init(void);
 char *serv_expire_init(void);
@@ -38,10 +39,6 @@ void initialize_server_extensions(void);
 int DLoader_Exec_Cmd(char *cmdbuf);
 char *Dynamic_Module_Init(void);
 
-void CtdlRegisterLogHook(void (*fcn_ptr)(char *), int loglevel);
-void CtdlUnregisterLogHook(void (*fcn_ptr)(char *), int loglevel);
-void PerformLogHooks(int loglevel, char *logmsg);
-
 void CtdlRegisterSessionHook(void (*fcn_ptr)(void), int EventType);
 void CtdlUnregisterSessionHook(void (*fcn_ptr)(void), int EventType);
 void PerformSessionHooks(int EventType);
@@ -78,10 +75,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 */