]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.h
Finished the trailing_javascript API and moved a few things to it
[citadel.git] / webcit / webcit.h
index 0e9c1338c94d0e3177b09657453025aa2615cb51..265e6f0254361b8bcdf756ad2863e6544cc79715 100644 (file)
@@ -282,7 +282,7 @@ typedef struct _TemplateToken {
        TemplateParam *Params[MAXPARAM];
 } WCTemplateToken;
 
-typedef void (*WCHandlerFunc)(StrBuf *Target, int nArgs, WCTemplateToken *Token, void *Context, int ContextType);
+typedef void (*WCHandlerFunc)();
 
 
 /**
@@ -505,6 +505,8 @@ struct wcsession {
 
        HashList *ServCfg;                      /**< cache our server config for editing */
        HashList *InetCfg;                      /**< Our inet server config for editing */
+
+       StrBuf *trailing_javascript;            /**< extra javascript to be appended to page */
 };
 
 /** values for WC->current_iconbar */