jabberd2
2.2.16
|
00001 /* 00002 * jabberd - Jabber Open Source Server 00003 * Copyright (c) 2002-2004 Jeremie Miller, Thomas Muldowney, 00004 * Ryan Eatmon, Robert Norris 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA02111-1307USA 00019 */ 00020 00028 #ifndef INCL_UTIL_URI_H 00029 #define INCL_UTIL_URI_H 1 00030 00031 #define uri_XML "http://www.w3.org/XML/1998/namespace" 00032 00033 /* known namespace uri */ 00034 #define uri_STREAMS "http://etherx.jabber.org/streams" 00035 #define uri_CLIENT "jabber:client" 00036 #define uri_SERVER "jabber:server" 00037 #define uri_DIALBACK "jabber:server:dialback" 00038 #define uri_DIALBACK_L 22 /* strlen(uri_DIALBACK) */ 00039 #define uri_URN_DIALBACK "urn:xmpp:features:dialback" 00040 #define uri_TLS "urn:ietf:params:xml:ns:xmpp-tls" 00041 #define uri_SASL "urn:ietf:params:xml:ns:xmpp-sasl" 00042 #define uri_BIND "urn:ietf:params:xml:ns:xmpp-bind" 00043 #define uri_XSESSION "urn:ietf:params:xml:ns:xmpp-session" 00044 #define uri_COMPRESS "http://jabber.org/protocol/compress" 00045 #define uri_COMPRESS_FEATURE "http://jabber.org/features/compress" 00046 #define uri_ACK "http://www.xmpp.org/extensions/xep-0198.html#ns" 00047 #define uri_IQAUTH "http://jabber.org/features/iq-auth" 00048 #define uri_IQREGISTER "http://jabber.org/features/iq-register" 00049 #define uri_STREAM_ERR "urn:ietf:params:xml:ns:xmpp-streams" 00050 #define uri_STANZA_ERR "urn:ietf:params:xml:ns:xmpp-stanzas" 00051 #define uri_COMPONENT "http://jabberd.jabberstudio.org/ns/component/1.0" 00052 #define uri_SESSION "http://jabberd.jabberstudio.org/ns/session/1.0" 00053 #define uri_RESOLVER "http://jabberd.jabberstudio.org/ns/resolver/1.0" 00054 #define uri_XDATA "jabber:x:data" 00055 #define uri_OOB "jabber:x:oob" 00056 #define uri_ADDRESS_FEATURE "http://affinix.com/jabber/address" 00057 #define uri_ROSTERVER "urn:xmpp:features:rosterver" 00058 00059 /* these are used by SM mainly */ 00060 #define uri_AUTH "jabber:iq:auth" 00061 #define uri_REGISTER "jabber:iq:register" 00062 #define uri_ROSTER "jabber:iq:roster" 00063 #define uri_AGENTS "jabber:iq:agents" 00064 #define uri_DELAY "jabber:x:delay" 00065 #define uri_URN_DELAY "urn:xmpp:delay" 00066 #define uri_TIME "jabber:iq:time" 00067 #define urn_TIME "urn:xmpp:time" 00068 #define uri_VERSION "jabber:iq:version" 00069 #define uri_BROWSE "jabber:iq:browse" 00070 #define uri_EVENT "jabber:x:event" 00071 #define uri_GATEWAY "jabber:iq:gateway" 00072 #define uri_EXPIRE "jabber:x:expire" 00073 #define uri_PRIVACY "jabber:iq:privacy" 00074 #define urn_BLOCKING "urn:xmpp:blocking" 00075 #define urn_BLOCKING_ERR "urn:xmpp:blocking:errors" 00076 #define uri_SEARCH "jabber:iq:search" 00077 #define urn_PING "urn:xmpp:ping" 00078 #define uri_DISCO "http://jabber.org/protocol/disco" 00079 #define uri_DISCO_ITEMS "http://jabber.org/protocol/disco#items" 00080 #define uri_DISCO_INFO "http://jabber.org/protocol/disco#info" 00081 #define uri_SERVERINFO "http://jabber.org/network/serverinfo" 00082 #define urn_SOFTWAREINFO "urn:xmpp:dataforms:softwareinfo" 00083 00084 #define uri_AMP "http://jabber.org/protocol/amp" 00085 #define uri_AMP_ERRORS "http://jabber.org/protocol/amp#errors" 00086 #define uri_AMP_ACTION_DROP "http://jabber.org/protocol/amp?action=drop" 00087 #define uri_AMP_ACTION_ERROR "http://jabber.org/protocol/amp?action=error" 00088 #define uri_AMP_ACTION_NOTIFY "http://jabber.org/protocol/amp?action=notify" 00089 #define uri_AMP_CONDITION_DELIVER "http://jabber.org/protocol/amp?condition=deliver" 00090 #define uri_AMP_CONDITION_EXPIREAT "http://jabber.org/protocol/amp?condition=expire-at" 00091 #define uri_AMP_CONDITION_MATCHRESOURCE "http://jabber.org/protocol/amp?condition=match-resource" 00092 00093 #endif