From 36b7da3ad8ae1730ae3095c018bebdc2c4df0f8c Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Mon, 9 Mar 2015 16:39:29 +0300 Subject: [PATCH] Add forgotten header file --- include/ejabberd_sm.hrl | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 include/ejabberd_sm.hrl diff --git a/include/ejabberd_sm.hrl b/include/ejabberd_sm.hrl new file mode 100644 index 000000000..756f4b888 --- /dev/null +++ b/include/ejabberd_sm.hrl @@ -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().