* modules registering serverports now need to specify a plaintext name.
[citadel.git] / citadel / include / ctdl_module.h
index 905446ee55aa8d0a7e387cdce09c9e9c128f6a17..8c0efb0e173647739db7f877ef7ff1b884565fbb 100644 (file)
@@ -45,10 +45,11 @@ void CtdlRegisterProtoHook(void (*handler)(char *), char *cmd, char *desc);
 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_async_function) (void)
+                            char *sockpath,
+                            void (*h_greeting_function) (void),
+                            void (*h_command_function) (void),
+                            void (*h_async_function) (void),
+                            const char *ServiceName
 );
 void CtdlUnregisterServiceHook(int tcp_port,
                        char *sockpath,