diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2015-03-09 16:39:29 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2015-03-09 16:39:29 +0300 |
commit | 36b7da3ad8ae1730ae3095c018bebdc2c4df0f8c (patch) | |
tree | 7bdf46a76fbd99b4560bb6574f2a02dc519e80a5 /include | |
parent | Separate db backend from the SM (diff) |
Add forgotten header file
Diffstat (limited to 'include')
-rw-r--r-- | include/ejabberd_sm.hrl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ejabberd_sm.hrl b/include/ejabberd_sm.hrl new file mode 100644 index 00000000..756f4b88 --- /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(). |