annotate mcabber/src/xmpp_defines.h @ 1600:c5ee395fbc8c

Updated Entity Capabilities support (XEP-0115)
author franky
date Tue, 23 Sep 2008 10:59:25 +0200
parents dcd5d4c75199
children f4a2c6f767d1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1598
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
1 #ifndef __XMPP_DEFINES_H__
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
2 #define __XMPP_DEFINES_H__ 1
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
3
1600
c5ee395fbc8c Updated Entity Capabilities support (XEP-0115)
franky
parents: 1599
diff changeset
4 #define MCABBER_CAPS_NODE "http://mcabber.com/caps"
c5ee395fbc8c Updated Entity Capabilities support (XEP-0115)
franky
parents: 1599
diff changeset
5
1598
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
6 #define NS_CLIENT "jabber:client"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
7 #define NS_SERVER "jabber:server"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
8 #define NS_DIALBACK "jabber:server:dialback"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
9 #define NS_AUTH "jabber:iq:auth"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
10 #define NS_AUTH_CRYPT "jabber:iq:auth:crypt"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
11 #define NS_REGISTER "jabber:iq:register"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
12 #define NS_ROSTER "jabber:iq:roster"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
13 #define NS_OFFLINE "jabber:x:offline"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
14 #define NS_AGENT "jabber:iq:agent"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
15 #define NS_AGENTS "jabber:iq:agents"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
16 #define NS_DELAY "jabber:x:delay"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
17 #define NS_VERSION "jabber:iq:version"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
18 #define NS_TIME "jabber:iq:time"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
19 #define NS_VCARD "vcard-temp"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
20 #define NS_PRIVATE "jabber:iq:private"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
21 #define NS_SEARCH "jabber:iq:search"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
22 #define NS_OOB "jabber:iq:oob"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
23 #define NS_XOOB "jabber:x:oob"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
24 #define NS_ADMIN "jabber:iq:admin"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
25 #define NS_FILTER "jabber:iq:filter"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
26 #define NS_AUTH_0K "jabber:iq:auth:0k"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
27 #define NS_BROWSE "jabber:iq:browse"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
28 #define NS_EVENT "jabber:x:event"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
29 #define NS_CONFERENCE "jabber:iq:conference"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
30 #define NS_SIGNED "jabber:x:signed"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
31 #define NS_ENCRYPTED "jabber:x:encrypted"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
32 #define NS_GATEWAY "jabber:iq:gateway"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
33 #define NS_LAST "jabber:iq:last"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
34 #define NS_ENVELOPE "jabber:x:envelope"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
35 #define NS_EXPIRE "jabber:x:expire"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
36 #define NS_XHTML "http://www.w3.org/1999/xhtml"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
37 #define NS_DISCO_INFO "http://jabber.org/protocol/disco#info"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
38 #define NS_DISCO_ITEMS "http://jabber.org/protocol/disco#items"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
39 #define NS_IQ_AUTH "http://jabber.org/features/iq-auth"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
40 #define NS_REGISTER_FEATURE "http://jabber.org/features/iq-register"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
41
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
42 #define NS_CAPS "http://jabber.org/protocol/caps"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
43 #define NS_CHATSTATES "http://jabber.org/protocol/chatstates"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
44 #define NS_COMMANDS "http://jabber.org/protocol/commands"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
45 #define NS_MUC "http://jabber.org/protocol/muc"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
46
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
47 #define NS_XDBGINSERT "jabber:xdb:ginsert"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
48 #define NS_XDBNSLIST "jabber:xdb:nslist"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
49
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
50 #define NS_XMPP_STANZAS "urn:ietf:params:xml:ns:xmpp-stanzas"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
51 #define NS_XMPP_TLS "urn:ietf:params:xml:ns:xmpp-tls"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
52 #define NS_XMPP_STREAMS "urn:ietf:params:xml:ns:xmpp-streams"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
53
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
54 #define NS_XMPP_DELAY "urn:xmpp:delay"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
55 #define NS_XMPP_TIME "urn:xmpp:time"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
56 #define NS_PING "urn:xmpp:ping"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
57
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
58 #define NS_JABBERD_STOREDPRESENCE "http://jabberd.org/ns/storedpresence"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
59 #define NS_JABBERD_HISTORY "http://jabberd.org/ns/history"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
60
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
61 #define XMPP_ERROR_REDIRECT 302
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
62 #define XMPP_ERROR_BAD_REQUEST 400
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
63 #define XMPP_ERROR_NOT_AUTHORIZED 401
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
64 #define XMPP_ERROR_PAYMENT_REQUIRED 402
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
65 #define XMPP_ERROR_FORBIDDEN 403
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
66 #define XMPP_ERROR_NOT_FOUND 404
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
67 #define XMPP_ERROR_NOT_ALLOWED 405
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
68 #define XMPP_ERROR_NOT_ACCEPTABLE 406
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
69 #define XMPP_ERROR_REGISTRATION_REQUIRED 407
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
70 #define XMPP_ERROR_REQUEST_TIMEOUT 408
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
71 #define XMPP_ERROR_CONFLICT 409
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
72 #define XMPP_ERROR_INTERNAL_SERVER_ERROR 500
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
73 #define XMPP_ERROR_NOT_IMPLEMENTED 501
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
74 #define XMPP_ERROR_REMOTE_SERVER_ERROR 502
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
75 #define XMPP_ERROR_SERVICE_UNAVAILABLE 503
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
76 #define XMPP_ERROR_REMOTE_SERVER_TIMEOUT 504
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
77 #define XMPP_ERROR_DISCONNECTED 510
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
78
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
79 #endif
1599
dcd5d4c75199 Update/Add headers
Mikael Berthe <mikael@lilotux.net>
parents: 1598
diff changeset
80
dcd5d4c75199 Update/Add headers
Mikael Berthe <mikael@lilotux.net>
parents: 1598
diff changeset
81 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */