annotate libpurple/protocols/jabber/namespaces.h @ 29812:1e8dc177415e

propagate from branch 'im.pidgin.pidgin' (head 267f28808ab6eeda6b5d68f6433f2b3fcf230d4f) to branch 'im.pidgin.cpw.malu.ft_thumbnails' (head e638c5bb96c2400620511beaf38c52bedb56db4b)
author Marcus Lundblad <ml@update.uu.se>
date Thu, 18 Feb 2010 21:59:26 +0000
parents 9ab75ab032b4 172a37a43a30
children 885ceb384678
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28646
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
1 /*
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
2 * purple - Jabber Protocol Plugin
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
3 *
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
4 * Purple is the legal property of its developers, whose names are too numerous
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
5 * to list here. Please refer to the COPYRIGHT file distributed with this
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
6 * source distribution.
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
7 *
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
8 * This program is free software; you can redistribute it and/or modify
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
9 * it under the terms of the GNU General Public License as published by
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
11 * (at your option) any later version.
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
12 *
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
13 * This program is distributed in the hope that it will be useful,
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
16 * GNU General Public License for more details.
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
17 *
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
18 * You should have received a copy of the GNU General Public License
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
19 * along with this program; if not, write to the Free Software
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
21 *
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
22 */
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
23
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
24 #ifndef PURPLE_JABBER_NAMESPACES_H_
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
25 #define PURPLE_JABBER_NAMESPACES_H_
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
26
28650
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
27 #define NS_XMPP_BIND "urn:ietf:params:xml:ns:xmpp-bind"
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
28 #define NS_XMPP_CLIENT "jabber:client"
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
29 #define NS_XMPP_SASL "urn:ietf:params:xml:ns:xmpp-sasl"
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
30 #define NS_XMPP_SESSION "urn:ietf:params:xml:ns:xmpp-session"
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
31 #define NS_XMPP_STANZAS "urn:ietf:params:xml:ns:xmpp-stanzas"
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
32 #define NS_XMPP_STREAMS "http://etherx.jabber.org/streams"
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
33
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
34 /* XEP-0012 Last Activity (and XEP-0256 Last Activity in Presence) */
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
35 #define NS_LAST_ACTIVITY "jabber:iq:last"
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
36
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
37 /* XEP-0030 Service Discovery */
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
38 #define NS_DISCO_INFO "http://jabber.org/protocol/disco#info"
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
39 #define NS_DISCO_ITEMS "http://jabber.org/protocol/disco#items"
28646
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
40
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
41 /* XEP-0047 IBB (In-band bytestreams) */
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
42 #define NS_IBB "http://jabber.org/protocol/ibb"
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
43
28650
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
44 /* XEP-0065 SOCKS5 Bytestreams */
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
45 #define NS_BYTESTREAMS "http://jabber.org/protocol/bytestreams"
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
46
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
47 /* XEP-0066 Out of Band Data (OOB) */
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
48 #define NS_OOB_IQ_DATA "jabber:iq:oob"
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
49 #define NS_OOB_X_DATA "jabber:x:oob"
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
50
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
51 /* XEP-0071 XHTML-IM (rich-text messages) */
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
52 #define NS_XHTML_IM "http://jabber.org/protocol/xhtml-im"
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
53 #define NS_XHTML "http://www.w3.org/1999/xhtml"
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
54
28646
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
55 /* XEP-0084 v0.12 User Avatar */
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
56 #define NS_AVATAR_0_12_DATA "http://www.xmpp.org/extensions/xep-0084.html#ns-data"
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
57 #define NS_AVATAR_0_12_METADATA "http://www.xmpp.org/extensions/xep-0084.html#ns-metadata"
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
58
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
59 /* XEP-0084 v1.1 User Avatar */
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
60 #define NS_AVATAR_1_1_DATA "urn:xmpp:avatar:data"
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
61 #define NS_AVATAR_1_1_METADATA "urn:xmpp:avatar:metadata"
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
62
28664
931d6906291b jabber: Here's a good reason for the namespace defines. Fix a typo 'urn:xmpp:bosh'.
Paul Aurich <paul@darkrain42.org>
parents: 28663
diff changeset
63 /* XEP-0124 Bidirectional-streams Over Synchronous HTTP (BOSH) */
931d6906291b jabber: Here's a good reason for the namespace defines. Fix a typo 'urn:xmpp:bosh'.
Paul Aurich <paul@darkrain42.org>
parents: 28663
diff changeset
64 #define NS_BOSH "http://jabber.org/protocol/httpbind"
931d6906291b jabber: Here's a good reason for the namespace defines. Fix a typo 'urn:xmpp:bosh'.
Paul Aurich <paul@darkrain42.org>
parents: 28663
diff changeset
65
28650
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
66 /* XEP-0191 Simple Communications Blocking */
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
67 #define NS_SIMPLE_BLOCKING "urn:xmpp:blocking"
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
68
28649
8d8a1afc4268 Add the XEP# for ping, now that I'm hooked up to the interwebs.
Paul Aurich <paul@darkrain42.org>
parents: 28646
diff changeset
69 /* XEP-0199 Ping */
8d8a1afc4268 Add the XEP# for ping, now that I'm hooked up to the interwebs.
Paul Aurich <paul@darkrain42.org>
parents: 28646
diff changeset
70 #define NS_PING "urn:xmpp:ping"
8d8a1afc4268 Add the XEP# for ping, now that I'm hooked up to the interwebs.
Paul Aurich <paul@darkrain42.org>
parents: 28646
diff changeset
71
28650
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
72 /* XEP-0202 Entity Time */
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
73 #define NS_ENTITY_TIME "urn:xmpp:time"
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
74
28663
5b449584fead jabber: Delayed Delivery namespaces
Paul Aurich <paul@darkrain42.org>
parents: 28650
diff changeset
75 /* XEP-0203 Delayed Delivery (and legacy delayed delivery) */
5b449584fead jabber: Delayed Delivery namespaces
Paul Aurich <paul@darkrain42.org>
parents: 28650
diff changeset
76 #define NS_DELAYED_DELIVERY "urn:xmpp:delay"
5b449584fead jabber: Delayed Delivery namespaces
Paul Aurich <paul@darkrain42.org>
parents: 28650
diff changeset
77 #define NS_DELAYED_DELIVERY_LEGACY "jabber:x:delay"
5b449584fead jabber: Delayed Delivery namespaces
Paul Aurich <paul@darkrain42.org>
parents: 28650
diff changeset
78
28665
8d79af63f18b Forgot to save.
Paul Aurich <paul@darkrain42.org>
parents: 28664
diff changeset
79 /* XEP-0206 XMPP over BOSH */
28664
931d6906291b jabber: Here's a good reason for the namespace defines. Fix a typo 'urn:xmpp:bosh'.
Paul Aurich <paul@darkrain42.org>
parents: 28663
diff changeset
80 #define NS_XMPP_BOSH "urn:xmpp:xbosh"
931d6906291b jabber: Here's a good reason for the namespace defines. Fix a typo 'urn:xmpp:bosh'.
Paul Aurich <paul@darkrain42.org>
parents: 28663
diff changeset
81
28646
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
82 /* XEP-0224 Attention */
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
83 #define NS_ATTENTION "urn:xmpp:attention:0"
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
84
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
85 /* XEP-0231 BoB (Bits of Binary) */
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
86 #define NS_BOB "urn:xmpp:bob"
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
87
28760
0f7025534fc5 jabber: Roster Versioning support.
Paul Aurich <paul@darkrain42.org>
parents: 28665
diff changeset
88 /* XEP-0237 Roster Versioning */
0f7025534fc5 jabber: Roster Versioning support.
Paul Aurich <paul@darkrain42.org>
parents: 28665
diff changeset
89 #define NS_ROSTER_VERSIONING "urn:xmpp:features:rosterver"
0f7025534fc5 jabber: Roster Versioning support.
Paul Aurich <paul@darkrain42.org>
parents: 28665
diff changeset
90
29810
4cfa6d49bee5 Added the "thumbs" namespace to namespaces.h
Marcus Lundblad <ml@update.uu.se>
parents: 28665
diff changeset
91 /* XEP-0264 File Transfer Thumbnails (Thumbs) */
4cfa6d49bee5 Added the "thumbs" namespace to namespaces.h
Marcus Lundblad <ml@update.uu.se>
parents: 28665
diff changeset
92 #define NS_THUMBS "urn:xmpp:thumbs:0"
4cfa6d49bee5 Added the "thumbs" namespace to namespaces.h
Marcus Lundblad <ml@update.uu.se>
parents: 28665
diff changeset
93
28646
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
94 /* Google extensions */
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
95 #define NS_GOOGLE_CAMERA "http://www.google.com/xmpp/protocol/camera/v1"
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
96 #define NS_GOOGLE_VIDEO "http://www.google.com/xmpp/protocol/video/v1"
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
97 #define NS_GOOGLE_VOICE "http://www.google.com/xmpp/protocol/voice/v1"
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
98 #define NS_GOOGLE_JINGLE_INFO "google:jingleinfo"
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
99
28650
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
100 #define NS_GOOGLE_MAIL_NOTIFY "google:mail:notify"
28767
9ab75ab032b4 jabber: The google roster request code was so lonely, so let's just drop-kick it and add the little custom logic to roster.c
Paul Aurich <paul@darkrain42.org>
parents: 28760
diff changeset
101 #define NS_GOOGLE_ROSTER "google:roster"
28650
9ae3e70a327b jabber: More namespaces! This is a good stopping point for now.
Paul Aurich <paul@darkrain42.org>
parents: 28649
diff changeset
102
28646
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
103 #define NS_GOOGLE_PROTOCOL_SESSION "http://www.google.com/xmpp/protocol/session"
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
104 #define NS_GOOGLE_SESSION "http://www.google.com/session"
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
105 #define NS_GOOGLE_SESSION_PHONE "http://www.google.com/session/phone"
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
106 #define NS_GOOGLE_SESSION_VIDEO "http://www.google.com/session/video"
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
107
9feec7d1d95c jabber: Add the missing file and fix up the Google session namespaces
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
108 #endif /* PURPLE_JABBER_NAMESPACES_H_ */