X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fwebcit.h;h=0848579dade6d490314879d2344741b708420919;hb=c5d32a4b382cc366776eb0ec06c93ab15245c6da;hp=59a361e8ebfe5022fd157ac6af20ae7c31467b57;hpb=5b9736dec3d511d35fb4a86ff913afcf9d7a811c;p=citadel.git diff --git a/webcit/webcit.h b/webcit/webcit.h index 59a361e8e..0848579da 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -269,6 +269,7 @@ typedef struct _TemplateParam { } TemplateParam; typedef struct _TemplateToken { + const StrBuf *FileName; /* Reference to print error messages; not to be freed */ StrBuf *FlatToken; long Line; const char *pTokenStart; @@ -311,7 +312,7 @@ typedef struct _wcsubst { #define CTX_NODECONF 7 #define CTX_USERLIST 8 #define CTX_MAILSUM 9 - +#define CTX_MIME_ATACH 10 void RegisterNS(const char *NSName, long len, int nMinArgs, @@ -342,8 +343,9 @@ void RegisterITERATOR(const char *Name, long len, RetrieveHashlistFunc GetHash, SubTemplFunc DoSubTempl, HashDestructorFunc Destructor, - int ContextType); -#define RegisterIterator(a, b, c, d, e, f, g) RegisterITERATOR(a, sizeof(a)-1, b, c, d, e, f, g) + int ContextType, + int XPectContextType); +#define RegisterIterator(a, b, c, d, e, f, g, h) RegisterITERATOR(a, sizeof(a)-1, b, c, d, e, f, g, h) void SVPut(char *keyname, size_t keylen, int keytype, char *Data); #define svput(a, b, c) SVPut(a, sizeof(a) - 1, b, c)