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.hrl35
1 files changed, 35 insertions, 0 deletions
diff --git a/tools/xmpp_codec.hrl b/tools/xmpp_codec.hrl
index af5903c93..567946fe2 100644
--- a/tools/xmpp_codec.hrl
+++ b/tools/xmpp_codec.hrl
@@ -9,6 +9,14 @@
-record(sasl_success, {text :: any()}).
+-record(mam_result, {xmlns :: binary(),
+ queryid :: binary(),
+ id :: binary(),
+ sub_els = [] :: [any()]}).
+
+-record(rsm_first, {index :: non_neg_integer(),
+ data :: binary()}).
+
-record(text, {lang :: binary(),
data :: binary()}).
@@ -176,6 +184,11 @@
-record(shim, {headers = [] :: [{binary(),'undefined' | binary()}]}).
+-record(mam_prefs, {xmlns :: binary(),
+ default :: 'always' | 'never' | 'roster',
+ always = [] :: [any()],
+ never = [] :: [any()]}).
+
-record(caps, {hash :: binary(),
node :: binary(),
ver :: any()}).
@@ -194,6 +207,9 @@
-record(carbons_sent, {forwarded :: #forwarded{}}).
+-record(mam_archived, {by :: any(),
+ id :: binary()}).
+
-record(p1_rebind, {}).
-record(compress_failure, {reason :: 'processing-failed' | 'setup-failed' | 'unsupported-method'}).
@@ -263,6 +279,17 @@
-record(vcard_org, {name :: binary(),
units = [] :: [binary()]}).
+-record(rsm_set, {'after' :: binary(),
+ before :: binary(),
+ count :: non_neg_integer(),
+ first :: #rsm_first{},
+ index :: non_neg_integer(),
+ last :: binary(),
+ max :: non_neg_integer()}).
+
+-record(mam_fin, {id :: binary(),
+ rsm :: #rsm_set{}}).
+
-record(vcard_tel, {home = false :: boolean(),
work = false :: boolean(),
voice = false :: boolean(),
@@ -343,6 +370,14 @@
items = [] :: [[#xdata_field{}]],
fields = [] :: [#xdata_field{}]}).
+-record(mam_query, {xmlns :: binary(),
+ id :: binary(),
+ start :: any(),
+ 'end' :: any(),
+ with :: any(),
+ rsm :: #rsm_set{},
+ xdata :: #xdata{}}).
+
-record(muc_owner, {destroy :: #muc_owner_destroy{},
config :: #xdata{}}).