aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEvgeny Khramtsov <xramtsov@gmail.com>2016-05-25 11:56:47 +0400
committerEvgeny Khramtsov <xramtsov@gmail.com>2016-05-25 11:56:47 +0400
commit14b53fbcb02e3c3c9b8ef95080819998490ae073 (patch)
tree5e1a307e7be14e6fd379e9ecc88181228e3b5250 /include
parentMerge pull request #1126 from weiss/muc-send-affiliation (diff)
parentXEP-0198: Add 'h' attribute to <failed/> element (diff)
Merge pull request #1131 from weiss/failed-resume-h
XEP-0198: Indicate number of handled stanzas if resumption fails
Diffstat (limited to 'include')
-rw-r--r--include/ejabberd_sm.hrl5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/ejabberd_sm.hrl b/include/ejabberd_sm.hrl
index bae60ccd3..38298d66a 100644
--- a/include/ejabberd_sm.hrl
+++ b/include/ejabberd_sm.hrl
@@ -3,10 +3,11 @@
-record(session, {sid, usr, us, priority, info}).
-record(session_counter, {vhost, count}).
--type sid() :: {erlang:timestamp(), pid()}.
+-type sid() :: {erlang:timestamp(), pid()} | {erlang:timestamp(), undefined}.
-type ip() :: {inet:ip_address(), inet:port_number()} | undefined.
-type info() :: [{conn, atom()} | {ip, ip()} | {node, atom()}
- | {oor, boolean()} | {auth_module, atom()}].
+ | {oor, boolean()} | {auth_module, atom()}
+ | {num_stanzas_in, non_neg_integer()}].
-type prio() :: undefined | integer().
-endif.