Go to the documentation of this file.
14 #define sXMPP_STREAM_O "stream:stream"
15 #define sXMPP_STREAM_FEATURES_O "<stream:features>"
16 #define sXMPP_STREAM_FEATURES_C "</stream:features>"
17 #define sXMPP_STREAM_ERROR_O "<stream:error>"
18 #define sXMPP_STREAM_ERROR_C "</stream:error>"
19 #define sXMPP_IQ_KEY "iq"
20 #define sXMPP_IQ "<iq"
21 #define sXMPP_MESSAGE_KEY "message"
22 #define sXMPP_MESSAGE "<message"
23 #define sXMPP_STREAM_STARTTLS_O "<starttls"
24 #define sXMPP_STREAM_FAILURE_O "<failure"
25 #define sXMPP_STREAM_PROCEED_O "<proceed"
26 #define sXMPP_REQUIRED_O "<required"
29 #define sXMPP_VERSION_1_GLOBAL "<?xml version='1.0'?>"
30 #define sXMPP_VERSION_1 "version='1.0'"
31 #define sXMPP_JABBER_CLIENT "xmlns='jabber:client'"
32 #define sXMPP_JABBER_SERVER "xmlns='jabber:server'"
33 #define sXMPP_LANG_EN "xml:lang='en'"
34 #define sXMPP_STREAM_NS "xmlns:stream='http://etherx.jabber.org/streams'"
35 #define sXMPP_STREAM_NS_TLS "urn:ietf:params:xml:ns:xmpp-tls"
36 #define sXMPP_BIND_NS "<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>"
37 #define sXMPP_STREAM_ERROR_NS "xmlns='urn:ietf:params:xml:ns:xmpp-streams'"
41 #define sXMPP_STREAM_OPEN "<?xml version='1.0'?><stream:stream from='dummycl' to='dummyserver' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'/>"
42 #define sXMPP_STREAM_RESP "<?xml version='1.0'?><stream:stream from='dummyserver' to='dummycl' id='++123' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'/>"
43 #define sXMPP_STREAM_FEATURE_TLS "<stream:features><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'><required/></starttls></stream:features>"
44 #define sXMPP_STREAM_START_TLS "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>"
45 #define sXMPP_STREAM_PROCEED_TLS "<proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>"
47 #define sXMPP_WHITESPACE "Ȁ"
49 #define sXMPP_VALIDWS " \n\r\tȀ"
51 #define sXMPP_CHAT_MSG "<message from='fake-from' to='fake-to' type='chat'> <body> msg </body> <subject> log </subject> </message>"
52 #define sXMPP_STREAM_START "<?xml version=\"1.0\"?><stream:stream"
53 #define sXMPP_STREAM_START_S "<stream:stream"
54 #define sXML_STREAM_C "/stream:stream"
58 #define rXMPP_MESSAGE "<(iq|message)"
59 #define rXMPP_STREAM_START "<?.*?>*[\\s\\n\\t\\r]*<stream:stream"
60 #define rXMPP_STREAM_END "http://etherx.jabber.org/streams[\"'][\\s\\t\\r\\n]*>"
61 #define rXMPP_STREAM_FEATURES "<stream:features"
62 #define rXMPP_STREAM_STARTTLS "<starttls"
63 #define rXMPP_STREAM_PROCEED "<proceed"
64 #define rXMPP_STREAM_STANZA_END "[\\s\\t\\r\\n]*/>"
66 #define rXMPP_STREAM_START_FEATURES "<?.*?>*[\\s\\n\\t\\r]*<(stream:stream|stream:features)"