From 1f8631e7cf7349f413bb7fda2dc4cd9cdcac1b73 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Fri, 6 Feb 2015 13:46:03 +0100 Subject: [PATCH] Update namespace definitions from ejabberd master --- ejabberd-dev/include/ns.hrl | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/ejabberd-dev/include/ns.hrl b/ejabberd-dev/include/ns.hrl index 6d041a4..a96edc7 100644 --- a/ejabberd-dev/include/ns.hrl +++ b/ejabberd-dev/include/ns.hrl @@ -1,6 +1,6 @@ %%%---------------------------------------------------------------------- %%% -%%% ejabberd, Copyright (C) 2002-2013 ProcessOne +%%% ejabberd, Copyright (C) 2002-2015 ProcessOne %%% %%% This program is free software; you can redistribute it and/or %%% modify it under the terms of the GNU General Public License as @@ -12,10 +12,9 @@ %%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU %%% General Public License for more details. %%% -%%% You should have received a copy of the GNU General Public License -%%% along with this program; if not, write to the Free Software -%%% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -%%% 02111-1307 USA +%%% You should have received a copy of the GNU General Public License along +%%% with this program; if not, write to the Free Software Foundation, Inc., +%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. %%% %%%---------------------------------------------------------------------- @@ -43,6 +42,7 @@ -define(NS_IQDATA, <<"jabber:iq:data">>). -define(NS_DELAY91, <<"jabber:x:delay">>). -define(NS_DELAY, <<"urn:xmpp:delay">>). +-define(NS_HINTS, <<"urn:xmpp:hints">>). -define(NS_EXPIRE, <<"jabber:x:expire">>). -define(NS_EVENT, <<"jabber:x:event">>). -define(NS_CHATSTATES, @@ -144,3 +144,9 @@ -define(NS_MEDIA, <<"urn:xmpp:media-element">>). -define(NS_BOB, <<"urn:xmpp:bob">>). -define(NS_PING, <<"urn:xmpp:ping">>). +-define(NS_CARBONS_2, <<"urn:xmpp:carbons:2">>). +-define(NS_CARBONS_1, <<"urn:xmpp:carbons:1">>). +-define(NS_FORWARD, <<"urn:xmpp:forward:0">>). +-define(NS_CLIENT_STATE, <<"urn:xmpp:csi:0">>). +-define(NS_STREAM_MGMT_2, <<"urn:xmpp:sm:2">>). +-define(NS_STREAM_MGMT_3, <<"urn:xmpp:sm:3">>).