]> code.citadel.org Git - citadel.git/blobdiff - webcit/subst.h
+ guess mimetype by template extension
[citadel.git] / webcit / subst.h
index 37ce34fe547f0d219650275242db1bd5bc2f0a7f..4f53cc3726cdf5accc4e689a0ee95fbc2bfdda94 100644 (file)
@@ -165,8 +165,15 @@ typedef struct _ConditionalStruct {
        WCConditionalFunc CondF;
 } ConditionalStruct;
 
-
-
+/** IterateStruct TODO: SHOULD BE PRIVATE */
+typedef struct _iteratestruct {
+        int GroupChange;
+        int oddeven;  
+        const char *Key;
+        long KeyLen;
+        int n;
+        int LastN;
+}IterateStruct;
 
 typedef void (*SubTemplFunc)(StrBuf *TemplBuffer, WCTemplputParams *TP);
 typedef HashList *(*RetrieveHashlistFunc)(StrBuf *Target, WCTemplputParams *TP);
@@ -284,7 +291,7 @@ void dbg_print_longvector(long *LongVector);
 
 
 #define do_template(a, b) DoTemplate(a, sizeof(a) -1, NULL, &NoCtx);
-void DoTemplate(const char *templatename, long len, StrBuf *Target, WCTemplputParams *TP);
+const StrBuf *DoTemplate(const char *templatename, long len, StrBuf *Target, WCTemplputParams *TP);
 void url_do_template(void);