25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-30 16:36:29 +01:00
xmpp.chapril.org-ejabberd/include/ejabberd_sm.hrl

14 lines
523 B
Erlang
Raw Normal View History

-ifndef(EJABBERD_SM_HRL).
-define(EJABBERD_SM_HRL, true).
2015-03-09 14:39:29 +01:00
-record(session, {sid, usr, us, priority, info}).
-record(session_counter, {vhost, count}).
-type sid() :: {erlang:timestamp(), pid()} | {erlang:timestamp(), undefined}.
2015-03-09 14:39:29 +01:00
-type ip() :: {inet:ip_address(), inet:port_number()} | undefined.
-type info() :: [{conn, atom()} | {ip, ip()} | {node, atom()}
| {oor, boolean()} | {auth_module, atom()}
| {num_stanzas_in, non_neg_integer()}].
2015-03-09 14:39:29 +01:00
-type prio() :: undefined | integer().
-endif.