X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fxmpp%2Fxmpp_xmacros.h;fp=citadel%2Fmodules%2Fxmpp%2Fxmpp_xmacros.h;h=f7427b835c9a396e33d22ee8f1ad4151cda8ad94;hp=3d5d94d539f941b07780c2c1506aca935f68b524;hb=4ebdea1025ba5fdbcc8bdd6ba142557d216796d1;hpb=8ddbd46ffb249a044bc483c338cdd280fe9efcb0 diff --git a/citadel/modules/xmpp/xmpp_xmacros.h b/citadel/modules/xmpp/xmpp_xmacros.h index 3d5d94d53..f7427b835 100644 --- a/citadel/modules/xmpp/xmpp_xmacros.h +++ b/citadel/modules/xmpp/xmpp_xmacros.h @@ -3,12 +3,14 @@ * define the structures for one token each * typename: TheToken_ */ +#define PAYLOAD(STRUCTNAME, NAME) StrBuf *NAME;int encoding_##NAME; #define STRPROP(STRUCTNAME, NAME) StrBuf *NAME; #define TOKEN(NAME, STRUCT) typedef struct __##NAME \ STRUCT \ TheToken_##NAME; #include "token.def" #undef STRPROP +#undef PAYLOAD #undef TOKEN @@ -21,6 +23,7 @@ void free_buf_##NAME(TheToken_##NAME *pdata); #include "token.def" #undef STRPROP +#undef PAYLOAD #undef TOKEN /* @@ -32,4 +35,5 @@ #include "token.def" #undef STRPROP +#undef PAYLOAD #undef TOKEN