diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2014-07-24 10:32:07 +0400 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2014-07-24 10:35:17 +0400 |
commit | a087af706013c27fe876fe1a99c20d836e10b5f5 (patch) | |
tree | 61e4d23c253ab57b51beb93cc43e2e0a20f28ab3 /tools/xmpp_codec.hrl | |
parent | Fix events broadcasting via C2S (diff) |
Re-generate the XMPP codec using updated xml_gen
Diffstat (limited to 'tools/xmpp_codec.hrl')
-rw-r--r-- | tools/xmpp_codec.hrl | 30 |
1 files 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{}], |