annotate mcabber/mcabber/xmpp_defines.h @ 1909:9c14153e2580

Do not display unhandled IQ result messages to the log window We display the message only in the debug log file, because these messages are usually ignored anyway (ideally we would create a handler explicitly when sending the initial IQ request). Thanks to VarLog for the report!
author Mikael Berthe <mikael@lilotux.net>
date Sun, 18 Apr 2010 14:14:05 +0200
parents e2def760c6d0
children 1a01a7ef4e43
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1668
41c26b7d2890 Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents: 1602
diff changeset
1 #ifndef __MCABBER_XMPP_DEFINES_H__
41c26b7d2890 Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents: 1602
diff changeset
2 #define __MCABBER_XMPP_DEFINES_H__ 1
1598
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"
1908
e2def760c6d0 Introduce NS_MUC_{USER,ADMIN,OWNER}
Mikael Berthe <mikael@lilotux.net>
parents: 1811
diff changeset
46 #define NS_MUC_USER "http://jabber.org/protocol/muc#user"
e2def760c6d0 Introduce NS_MUC_{USER,ADMIN,OWNER}
Mikael Berthe <mikael@lilotux.net>
parents: 1811
diff changeset
47 #define NS_MUC_ADMIN "http://jabber.org/protocol/muc#admin"
e2def760c6d0 Introduce NS_MUC_{USER,ADMIN,OWNER}
Mikael Berthe <mikael@lilotux.net>
parents: 1811
diff changeset
48 #define NS_MUC_OWNER "http://jabber.org/protocol/muc#owner"
1598
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
49
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
50 #define NS_XDBGINSERT "jabber:xdb:ginsert"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
51 #define NS_XDBNSLIST "jabber:xdb:nslist"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
52
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
53 #define NS_XMPP_STANZAS "urn:ietf:params:xml:ns:xmpp-stanzas"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
54 #define NS_XMPP_TLS "urn:ietf:params:xml:ns:xmpp-tls"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
55 #define NS_XMPP_STREAMS "urn:ietf:params:xml:ns:xmpp-streams"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
56
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
57 #define NS_XMPP_DELAY "urn:xmpp:delay"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
58 #define NS_XMPP_TIME "urn:xmpp:time"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
59 #define NS_PING "urn:xmpp:ping"
1602
f4a2c6f767d1 Message Receipts support (XEP-0184)
franky
parents: 1600
diff changeset
60 #define NS_RECEIPTS "urn:xmpp:receipts"
1598
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
61
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
62 #define NS_JABBERD_STOREDPRESENCE "http://jabberd.org/ns/storedpresence"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
63 #define NS_JABBERD_HISTORY "http://jabberd.org/ns/history"
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
64
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
65 #define XMPP_ERROR_REDIRECT 302
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
66 #define XMPP_ERROR_BAD_REQUEST 400
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
67 #define XMPP_ERROR_NOT_AUTHORIZED 401
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
68 #define XMPP_ERROR_PAYMENT_REQUIRED 402
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
69 #define XMPP_ERROR_FORBIDDEN 403
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
70 #define XMPP_ERROR_NOT_FOUND 404
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
71 #define XMPP_ERROR_NOT_ALLOWED 405
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
72 #define XMPP_ERROR_NOT_ACCEPTABLE 406
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
73 #define XMPP_ERROR_REGISTRATION_REQUIRED 407
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
74 #define XMPP_ERROR_REQUEST_TIMEOUT 408
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
75 #define XMPP_ERROR_CONFLICT 409
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
76 #define XMPP_ERROR_INTERNAL_SERVER_ERROR 500
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
77 #define XMPP_ERROR_NOT_IMPLEMENTED 501
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
78 #define XMPP_ERROR_REMOTE_SERVER_ERROR 502
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
79 #define XMPP_ERROR_SERVICE_UNAVAILABLE 503
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
80 #define XMPP_ERROR_REMOTE_SERVER_TIMEOUT 504
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
81 #define XMPP_ERROR_DISCONNECTED 510
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
82
a087125d8fc8 Replace libjabber with loudmouth
franky
parents:
diff changeset
83 #endif
1599
dcd5d4c75199 Update/Add headers
Mikael Berthe <mikael@lilotux.net>
parents: 1598
diff changeset
84
1811
e6d355e50d7a Update Vim modelines
Mikael Berthe <mikael@lilotux.net>
parents: 1668
diff changeset
85 /* vim: set et cindent cinoptions=>2\:2(0 ts=2 sw=2: For Vim users... */