OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
xmpp_str.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define sXMPP_STREAM_O   "stream:stream"
 
#define sXMPP_STREAM_FEATURES_O   "<stream:features>"
 
#define sXMPP_STREAM_FEATURES_C   "</stream:features>"
 
#define sXMPP_STREAM_ERROR_O   "<stream:error>"
 
#define sXMPP_STREAM_ERROR_C   "</stream:error>"
 
#define sXMPP_IQ_KEY   "iq"
 
#define sXMPP_IQ   "<iq"
 
#define sXMPP_MESSAGE_KEY   "message"
 
#define sXMPP_MESSAGE   "<message"
 
#define sXMPP_STREAM_STARTTLS_O   "<starttls"
 
#define sXMPP_STREAM_FAILURE_O   "<failure"
 
#define sXMPP_STREAM_PROCEED_O   "<proceed"
 
#define sXMPP_REQUIRED_O   "<required"
 
#define sXMPP_VERSION_1_GLOBAL   "<?xml version='1.0'?>"
 
#define sXMPP_VERSION_1   "version='1.0'"
 
#define sXMPP_JABBER_CLIENT   "xmlns='jabber:client'"
 
#define sXMPP_JABBER_SERVER   "xmlns='jabber:server'"
 
#define sXMPP_LANG_EN   "xml:lang='en'"
 
#define sXMPP_STREAM_NS   "xmlns:stream='http://etherx.jabber.org/streams'"
 
#define sXMPP_STREAM_NS_TLS   "urn:ietf:params:xml:ns:xmpp-tls"
 
#define sXMPP_BIND_NS   "<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>"
 
#define sXMPP_STREAM_ERROR_NS   "xmlns='urn:ietf:params:xml:ns:xmpp-streams'"
 
#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'/>"
 
#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'/>"
 
#define sXMPP_STREAM_FEATURE_TLS   "<stream:features><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'><required/></starttls></stream:features>"
 
#define sXMPP_STREAM_START_TLS   "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>"
 
#define sXMPP_STREAM_PROCEED_TLS   "<proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>"
 
#define sXMPP_WHITESPACE   "Ȁ"
 
#define sXMPP_VALIDWS   " \n\r\tȀ"
 
#define sXMPP_CHAT_MSG   "<message from='fake-from' to='fake-to' type='chat'> <body> msg </body> <subject> log </subject> </message>"
 
#define sXMPP_STREAM_START   "<?xml version=\"1.0\"?><stream:stream"
 
#define sXMPP_STREAM_START_S   "<stream:stream"
 
#define sXML_STREAM_C   "/stream:stream"
 
#define rXMPP_MESSAGE   "<(iq|message)"
 
#define rXMPP_STREAM_START   "<?.*?>*[\\s\\n\\t\\r]*<stream:stream"
 
#define rXMPP_STREAM_END   "http://etherx.jabber.org/streams[\"'][\\s\\t\\r\\n]*>"
 
#define rXMPP_STREAM_FEATURES   "<stream:features"
 
#define rXMPP_STREAM_STARTTLS   "<starttls"
 
#define rXMPP_STREAM_PROCEED   "<proceed"
 
#define rXMPP_STREAM_STANZA_END   "[\\s\\t\\r\\n]*/>"
 
#define rXMPP_STREAM_START_FEATURES   "<?.*?>*[\\s\\n\\t\\r]*<(stream:stream|stream:features)"
 

Macro Definition Documentation

#define rXMPP_MESSAGE   "<(iq|message)"

Definition at line 57 of file xmpp_str.h.

#define rXMPP_STREAM_END   "http://etherx.jabber.org/streams[\"'][\\s\\t\\r\\n]*>"

Definition at line 59 of file xmpp_str.h.

#define rXMPP_STREAM_FEATURES   "<stream:features"

Definition at line 60 of file xmpp_str.h.

#define rXMPP_STREAM_PROCEED   "<proceed"

Definition at line 62 of file xmpp_str.h.

#define rXMPP_STREAM_STANZA_END   "[\\s\\t\\r\\n]*/>"

Definition at line 63 of file xmpp_str.h.

#define rXMPP_STREAM_START   "<?.*?>*[\\s\\n\\t\\r]*<stream:stream"

Definition at line 58 of file xmpp_str.h.

#define rXMPP_STREAM_START_FEATURES   "<?.*?>*[\\s\\n\\t\\r]*<(stream:stream|stream:features)"

Definition at line 65 of file xmpp_str.h.

#define rXMPP_STREAM_STARTTLS   "<starttls"

Definition at line 61 of file xmpp_str.h.

#define sXML_STREAM_C   "/stream:stream"

Definition at line 53 of file xmpp_str.h.

#define sXMPP_BIND_NS   "<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>"

Definition at line 35 of file xmpp_str.h.

#define sXMPP_CHAT_MSG   "<message from='fake-from' to='fake-to' type='chat'> <body> msg </body> <subject> log </subject> </message>"

Definition at line 50 of file xmpp_str.h.

#define sXMPP_IQ   "<iq"

Definition at line 19 of file xmpp_str.h.

#define sXMPP_IQ_KEY   "iq"

Definition at line 18 of file xmpp_str.h.

#define sXMPP_JABBER_CLIENT   "xmlns='jabber:client'"

Definition at line 30 of file xmpp_str.h.

#define sXMPP_JABBER_SERVER   "xmlns='jabber:server'"

Definition at line 31 of file xmpp_str.h.

#define sXMPP_LANG_EN   "xml:lang='en'"

Definition at line 32 of file xmpp_str.h.

#define sXMPP_MESSAGE   "<message"

Definition at line 21 of file xmpp_str.h.

#define sXMPP_MESSAGE_KEY   "message"

Definition at line 20 of file xmpp_str.h.

#define sXMPP_REQUIRED_O   "<required"

Definition at line 25 of file xmpp_str.h.

#define sXMPP_STREAM_ERROR_C   "</stream:error>"

Definition at line 17 of file xmpp_str.h.

#define sXMPP_STREAM_ERROR_NS   "xmlns='urn:ietf:params:xml:ns:xmpp-streams'"

Definition at line 36 of file xmpp_str.h.

#define sXMPP_STREAM_ERROR_O   "<stream:error>"

Definition at line 16 of file xmpp_str.h.

#define sXMPP_STREAM_FAILURE_O   "<failure"

Definition at line 23 of file xmpp_str.h.

#define sXMPP_STREAM_FEATURE_TLS   "<stream:features><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'><required/></starttls></stream:features>"

Definition at line 42 of file xmpp_str.h.

#define sXMPP_STREAM_FEATURES_C   "</stream:features>"

Definition at line 15 of file xmpp_str.h.

#define sXMPP_STREAM_FEATURES_O   "<stream:features>"

Definition at line 14 of file xmpp_str.h.

#define sXMPP_STREAM_NS   "xmlns:stream='http://etherx.jabber.org/streams'"

Definition at line 33 of file xmpp_str.h.

#define sXMPP_STREAM_NS_TLS   "urn:ietf:params:xml:ns:xmpp-tls"

Definition at line 34 of file xmpp_str.h.

#define sXMPP_STREAM_O   "stream:stream"

Definition at line 13 of file xmpp_str.h.

#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'/>"

Definition at line 40 of file xmpp_str.h.

#define sXMPP_STREAM_PROCEED_O   "<proceed"

Definition at line 24 of file xmpp_str.h.

#define sXMPP_STREAM_PROCEED_TLS   "<proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>"

Definition at line 44 of file xmpp_str.h.

#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'/>"

Definition at line 41 of file xmpp_str.h.

#define sXMPP_STREAM_START   "<?xml version=\"1.0\"?><stream:stream"

Definition at line 51 of file xmpp_str.h.

#define sXMPP_STREAM_START_S   "<stream:stream"

Definition at line 52 of file xmpp_str.h.

#define sXMPP_STREAM_START_TLS   "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>"

Definition at line 43 of file xmpp_str.h.

#define sXMPP_STREAM_STARTTLS_O   "<starttls"

Definition at line 22 of file xmpp_str.h.

#define sXMPP_VALIDWS   " \n\r\tȀ"

Definition at line 48 of file xmpp_str.h.

#define sXMPP_VERSION_1   "version='1.0'"

Definition at line 29 of file xmpp_str.h.

#define sXMPP_VERSION_1_GLOBAL   "<?xml version='1.0'?>"

Definition at line 28 of file xmpp_str.h.

#define sXMPP_WHITESPACE   "Ȁ"

Definition at line 46 of file xmpp_str.h.