* modules registering serverports now need to specify a plaintext name.
[citadel.git] / citadel / server.h
index 3d1c9c487a721d151a8dd3769c528f2eb4dc36c4..3913cee5885ec64b20f6ef841c1679b10fef7fed 100644 (file)
@@ -143,6 +143,7 @@ struct CitContext {
        struct citmgsve *MGSVE; /**< Managesieve Session struct */
        struct cit_ical *CIT_ICAL;              /* calendaring data */
        struct ma_info *ma;                     /* multipart/alternative data */
+       const char* ServiceName; /**< whats our actual purpose? */
 };
 
 typedef struct CitContext t_context;
@@ -437,6 +438,7 @@ struct ServiceFunctionHook {
        void (*h_command_function) (void) ;
        void (*h_async_function) (void) ;
        int msock;
+       const char* ServiceName; /* this is just for debugging and logging purposes. */
 };
 extern struct ServiceFunctionHook *ServiceHookTable;