From be7ea35bcbb4aff9aab56777145de5b435905514 Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 20 Jan 2009 23:49:26 +0000 Subject: [PATCH] temporarily have IterateStruct in subst.h so mailbox conditionals can get at them (temporary solution only) --- webcit/subst.c | 4 ++-- webcit/subst.h | 11 +++++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) 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); -- 2.30.2