From a087af706013c27fe876fe1a99c20d836e10b5f5 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Thu, 24 Jul 2014 10:32:07 +0400 Subject: [PATCH] Re-generate the XMPP codec using updated xml_gen --- tools/xmpp_codec.hrl | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/tools/xmpp_codec.hrl b/tools/xmpp_codec.hrl index d2455a234..80567d7d4 100644 --- a/tools/xmpp_codec.hrl +++ b/tools/xmpp_codec.hrl @@ -5,6 +5,9 @@ -record(sasl_success, {text :: any()}). +-record(text, {lang :: binary(), + data :: binary()}). + -record(streamhost, {jid :: any(), host :: binary(), port = 1080 :: non_neg_integer()}). @@ -83,6 +86,9 @@ -record(sm_r, {}). +-record(muc_actor, {jid :: any(), + nick :: binary()}). + -record(stat, {name :: binary(), units :: binary(), value :: binary(), @@ -150,8 +156,15 @@ subid :: binary(), type :: 'none' | 'pending' | 'subscribed' | 'unconfigured'}). --record(muc_actor, {jid :: any(), - nick :: binary()}). +-record(muc_item, {actor :: #muc_actor{}, + continue :: binary(), + reason :: binary(), + affiliation :: 'admin' | 'member' | 'none' | 'outcast' | 'owner', + role :: 'moderator' | 'none' | 'participant' | 'visitor', + jid :: any(), + nick :: binary()}). + +-record(muc_admin, {items = [] :: [#muc_item{}]}). -record(shim, {headers = [] :: [{binary(),'undefined' | binary()}]}). @@ -192,9 +205,6 @@ notify = false :: any(), items = [] :: [#pubsub_item{}]}). --record(text, {lang :: binary(), - data :: binary()}). - -record(vcard_geo, {lat :: binary(), lon :: binary()}). @@ -224,14 +234,6 @@ -record(bind, {jid :: any(), resource :: any()}). --record(muc_item, {actor :: #muc_actor{}, - continue :: binary(), - reason :: binary(), - affiliation :: 'admin' | 'member' | 'none' | 'outcast' | 'owner', - role :: 'moderator' | 'none' | 'participant' | 'visitor', - jid :: any(), - nick :: binary()}). - -record(muc_user, {decline :: #muc_decline{}, destroy :: #muc_user_destroy{}, invites = [] :: [#muc_invite{}], @@ -239,8 +241,6 @@ status_codes = [] :: [pos_integer()], password :: binary()}). --record(muc_admin, {items = [] :: [#muc_item{}]}). - -record(carbons_disable, {}). -record(bytestreams, {hosts = [] :: [#streamhost{}],