]> granicus.if.org Git - ejabberd/commitdiff
Re-generate the XMPP codec using updated xml_gen
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Thu, 24 Jul 2014 06:32:07 +0000 (10:32 +0400)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Thu, 24 Jul 2014 06:35:17 +0000 (10:35 +0400)
tools/xmpp_codec.hrl

index d2455a2347ddcda1849ef9223d613761fb3ecc0c..80567d7d4d4030f838c9d56c661018f19d448f0f 100644 (file)
@@ -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(),
                               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()}]}).
 
                          notify = false :: any(),
                          items = [] :: [#pubsub_item{}]}).
 
--record(text, {lang :: binary(),
-               data :: binary()}).
-
 -record(vcard_geo, {lat :: binary(),
                     lon :: binary()}).
 
 -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{}],
                    status_codes = [] :: [pos_integer()],
                    password :: binary()}).
 
--record(muc_admin, {items = [] :: [#muc_item{}]}).
-
 -record(carbons_disable, {}).
 
 -record(bytestreams, {hosts = [] :: [#streamhost{}],