Add forgotten header file

This commit is contained in:
Evgeniy Khramtsov 2015-03-09 16:39:29 +03:00
parent 86e03f3828
commit 36b7da3ad8
1 changed files with 7 additions and 0 deletions

7
include/ejabberd_sm.hrl Normal file
View File

@ -0,0 +1,7 @@
-record(session, {sid, usr, us, priority, info}).
-record(session_counter, {vhost, count}).
-type sid() :: {erlang:timestamp(), pid()}.
-type ip() :: {inet:ip_address(), inet:port_number()} | undefined.
-type info() :: [{conn, atom()} | {ip, ip()} | {node, atom()}
| {oor, boolean()} | {auth_module, atom()}].
-type prio() :: undefined | integer().