From: Matt Date: Tue, 20 Jan 2009 23:49:26 +0000 (+0000) Subject: temporarily have IterateStruct in subst.h so mailbox conditionals can get at them... X-Git-Tag: v7.86~1590 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=be7ea35bcbb4aff9aab56777145de5b435905514 temporarily have IterateStruct in subst.h so mailbox conditionals can get at them (temporary solution only) --- diff --git a/webcit/subst.c b/webcit/subst.c index 309bf53ff..b22220627 100644 --- a/webcit/subst.c +++ b/webcit/subst.c @@ -1635,14 +1635,14 @@ void RegisterITERATOR(const char *Name, long len, Put(Iterators, Name, len, It, NULL); } -typedef struct _iteratestruct { +/* typedef struct _iteratestruct { int GroupChange; int oddeven; const char *Key; long KeyLen; int n; int LastN; -}IterateStruct; + }IterateStruct; */ void tmpl_iterate_subtmpl(StrBuf *Target, WCTemplputParams *TP) { diff --git a/webcit/subst.h b/webcit/subst.h index 37ce34fe5..743aac03a 100644 --- a/webcit/subst.h +++ b/webcit/subst.h @@ -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);