Frameworks/libpurple.framework/Versions/0.6.4/Headers/namespaces.h
author Smew
Sat Nov 28 22:11:06 2009 -0500 (2009-11-28)
changeset 2841 7d822254e708
permissions -rw-r--r--
Adding required namespaces.h.
     1 /*
     2  * purple - Jabber Protocol Plugin
     3  *
     4  * Purple is the legal property of its developers, whose names are too numerous
     5  * to list here.  Please refer to the COPYRIGHT file distributed with this
     6  * source distribution.
     7  *
     8  * This program is free software; you can redistribute it and/or modify
     9  * it under the terms of the GNU General Public License as published by
    10  * the Free Software Foundation; either version 2 of the License, or
    11  * (at your option) any later version.
    12  *
    13  * This program is distributed in the hope that it will be useful,
    14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
    16  * GNU General Public License for more details.
    17  *
    18  * You should have received a copy of the GNU General Public License
    19  * along with this program; if not, write to the Free Software
    20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
    21  *
    22  */
    23 
    24 #ifndef PURPLE_JABBER_NAMESPACES_H_
    25 #define PURPLE_JABBER_NAMESPACES_H_
    26 
    27 #define NS_XMPP_BIND "urn:ietf:params:xml:ns:xmpp-bind"
    28 #define NS_XMPP_CLIENT "jabber:client"
    29 #define NS_XMPP_SASL "urn:ietf:params:xml:ns:xmpp-sasl"
    30 #define NS_XMPP_SESSION "urn:ietf:params:xml:ns:xmpp-session"
    31 #define NS_XMPP_STANZAS "urn:ietf:params:xml:ns:xmpp-stanzas"
    32 #define NS_XMPP_STREAMS "http://etherx.jabber.org/streams"
    33 
    34 /* XEP-0012 Last Activity (and XEP-0256 Last Activity in Presence) */
    35 #define NS_LAST_ACTIVITY "jabber:iq:last"
    36 
    37 /* XEP-0030 Service Discovery */
    38 #define NS_DISCO_INFO "http://jabber.org/protocol/disco#info"
    39 #define NS_DISCO_ITEMS "http://jabber.org/protocol/disco#items"
    40 
    41 /* XEP-0047 IBB (In-band bytestreams) */
    42 #define NS_IBB "http://jabber.org/protocol/ibb"
    43 
    44 /* XEP-0065 SOCKS5 Bytestreams */
    45 #define NS_BYTESTREAMS "http://jabber.org/protocol/bytestreams"
    46 
    47 /* XEP-0066 Out of Band Data (OOB) */
    48 #define NS_OOB_IQ_DATA "jabber:iq:oob"
    49 #define NS_OOB_X_DATA  "jabber:x:oob"
    50 
    51 /* XEP-0071 XHTML-IM (rich-text messages) */
    52 #define NS_XHTML_IM "http://jabber.org/protocol/xhtml-im"
    53 #define NS_XHTML "http://www.w3.org/1999/xhtml"
    54 
    55 /* XEP-0084 v0.12 User Avatar */
    56 #define NS_AVATAR_0_12_DATA     "http://www.xmpp.org/extensions/xep-0084.html#ns-data"
    57 #define NS_AVATAR_0_12_METADATA "http://www.xmpp.org/extensions/xep-0084.html#ns-metadata"
    58 
    59 /* XEP-0084 v1.1 User Avatar */
    60 #define NS_AVATAR_1_1_DATA      "urn:xmpp:avatar:data"
    61 #define NS_AVATAR_1_1_METADATA  "urn:xmpp:avatar:metadata"
    62 
    63 /* XEP-0124 Bidirectional-streams Over Synchronous HTTP (BOSH) */
    64 #define NS_BOSH "http://jabber.org/protocol/httpbind"
    65 
    66 /* XEP-0191 Simple Communications Blocking */
    67 #define NS_SIMPLE_BLOCKING "urn:xmpp:blocking"
    68 
    69 /* XEP-0199 Ping */
    70 #define NS_PING "urn:xmpp:ping"
    71 
    72 /* XEP-0202 Entity Time */
    73 #define NS_ENTITY_TIME "urn:xmpp:time"
    74 
    75 /* XEP-0203 Delayed Delivery (and legacy delayed delivery) */
    76 #define NS_DELAYED_DELIVERY "urn:xmpp:delay"
    77 #define NS_DELAYED_DELIVERY_LEGACY "jabber:x:delay"
    78 
    79 /* XEP-0206 XMPP over BOSH */
    80 #define NS_XMPP_BOSH "urn:xmpp:xbosh"
    81 
    82 /* XEP-0224 Attention */
    83 #define NS_ATTENTION "urn:xmpp:attention:0"
    84 
    85 /* XEP-0231 BoB (Bits of Binary) */
    86 #define NS_BOB "urn:xmpp:bob"
    87 
    88 /* Google extensions */
    89 #define NS_GOOGLE_CAMERA "http://www.google.com/xmpp/protocol/camera/v1"
    90 #define NS_GOOGLE_VIDEO "http://www.google.com/xmpp/protocol/video/v1"
    91 #define NS_GOOGLE_VOICE "http://www.google.com/xmpp/protocol/voice/v1"
    92 #define NS_GOOGLE_JINGLE_INFO "google:jingleinfo"
    93 
    94 #define NS_GOOGLE_MAIL_NOTIFY "google:mail:notify"
    95 
    96 #define NS_GOOGLE_PROTOCOL_SESSION "http://www.google.com/xmpp/protocol/session"
    97 #define NS_GOOGLE_SESSION "http://www.google.com/session"
    98 #define NS_GOOGLE_SESSION_PHONE "http://www.google.com/session/phone"
    99 #define NS_GOOGLE_SESSION_VIDEO "http://www.google.com/session/video"
   100 
   101 #endif /* PURPLE_JABBER_NAMESPACES_H_ */