X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fxmpp%2Ftoken.def;fp=citadel%2Fmodules%2Fxmpp%2Ftoken.def;h=26345c6683b27252a5c5a709469c435f543aee7a;hp=0000000000000000000000000000000000000000;hb=6ae0819ac13984a0dfa583281fc0081af735c77d;hpb=1aa2da0249792527f99172681aecc77e0ad086af diff --git a/citadel/modules/xmpp/token.def b/citadel/modules/xmpp/token.def new file mode 100644 index 000000000..26345c668 --- /dev/null +++ b/citadel/modules/xmpp/token.def @@ -0,0 +1,32 @@ + +#define NAMESPACE_iq "jabber:client" +TOKEN(iq, + { + STRPROP(iq, type); + STRPROP(iq, id); + STRPROP(iq, from); + STRPROP(iq, to); + }) + + +#define NAMESPACE_piq "bub" + +TOKEN(piq, + { + STRPROP(piq, type); + STRPROP(piq, id); + STRPROP(piq, from); + STRPROP(piq, to); + }) + +#define NAMESPACE_message "jabber:client" +TOKEN(message, + { + STRPROP(message, to); + STRPROP(message, type); + STRPROP(message, id); + PAYLOAD(message, body); + }) + + +// gci