Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tools/xmpp_codec.hrl')
-rw-r--r--tools/xmpp_codec.hrl26
1 files changed, 24 insertions, 2 deletions
diff --git a/tools/xmpp_codec.hrl b/tools/xmpp_codec.hrl
index d8516201a..d2455a234 100644
--- a/tools/xmpp_codec.hrl
+++ b/tools/xmpp_codec.hrl
@@ -9,6 +9,9 @@
host :: binary(),
port = 1080 :: non_neg_integer()}).
+-record(sm_resume, {h :: non_neg_integer(),
+ previd :: binary()}).
+
-record(carbons_enable, {}).
-record(carbons_private, {}).
@@ -34,11 +37,19 @@
from :: any(),
to :: any()}).
+-record(sm_a, {h :: non_neg_integer()}).
+
-record(starttls_proceed, {}).
+-record(sm_resumed, {h :: non_neg_integer(),
+ previd :: binary()}).
+
-record(forwarded, {delay :: #delay{},
sub_els = [] :: [any()]}).
+-record(sm_enable, {max :: non_neg_integer(),
+ resume = false :: any()}).
+
-record(starttls_failure, {}).
-record(sasl_challenge, {text :: any()}).
@@ -49,6 +60,8 @@
-record(p1_ack, {}).
+-record(feature_sm, {}).
+
-record(pubsub_item, {id :: binary(),
xml_els = [] :: [any()]}).
@@ -68,6 +81,8 @@
node :: binary(),
publisher :: binary()}).
+-record(sm_r, {}).
+
-record(stat, {name :: binary(),
units :: binary(),
value :: binary(),
@@ -82,14 +97,19 @@
-record(last, {seconds :: non_neg_integer(),
text :: binary()}).
+-record(redirect, {uri :: binary()}).
+
+-record(sm_enabled, {id :: binary(),
+ location :: binary(),
+ max :: non_neg_integer(),
+ resume = false :: any()}).
+
-record(pubsub_event_items, {node :: binary(),
retract = [] :: [binary()],
items = [] :: [#pubsub_event_item{}]}).
-record(pubsub_event, {items = [] :: [#pubsub_event_items{}]}).
--record(redirect, {uri :: binary()}).
-
-record(sasl_response, {text :: any()}).
-record(pubsub_subscribe, {node :: binary(),
@@ -358,6 +378,8 @@
-record(sasl_mechanisms, {list = [] :: [binary()]}).
+-record(sm_failed, {reason :: atom() | #gone{} | #redirect{}}).
+
-record(error, {type :: 'auth' | 'cancel' | 'continue' | 'modify' | 'wait',
by :: binary(),
reason :: atom() | #gone{} | #redirect{},