* New type of server hook: CtdlRegisterFixedOutputHook(). This is for
[citadel.git] / citadel / serv_extensions.h
index a3974ecaed36fafb31ff55ad6e562dd1d094cedb..9b669783993185d522258016a622dadb499341f0 100644 (file)
@@ -79,12 +79,18 @@ void CtdlRegisterServiceHook(int tcp_port,
                         void (*h_greeting_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_async_function) (void)
-       ) ;
+);
+
+void CtdlRegisterFixedOutputHook(char *content_type,
+                       void (*output_function) (char *supplied_data, int len)
+);
+void CtdlUnRegisterFixedOutputHook(char *content_type);
+int PerformFixedOutputHooks(char *, char *, int);
 
 #endif /* SERV_EXTENSIONS_H */