aboutsummaryrefslogtreecommitdiff
path: root/include/ejabberd_sm.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'include/ejabberd_sm.hrl')
-rw-r--r--include/ejabberd_sm.hrl5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ejabberd_sm.hrl b/include/ejabberd_sm.hrl
index 756f4b888..bae60ccd3 100644
--- a/include/ejabberd_sm.hrl
+++ b/include/ejabberd_sm.hrl
@@ -1,3 +1,6 @@
+-ifndef(EJABBERD_SM_HRL).
+-define(EJABBERD_SM_HRL, true).
+
-record(session, {sid, usr, us, priority, info}).
-record(session_counter, {vhost, count}).
-type sid() :: {erlang:timestamp(), pid()}.
@@ -5,3 +8,5 @@
-type info() :: [{conn, atom()} | {ip, ip()} | {node, atom()}
| {oor, boolean()} | {auth_module, atom()}].
-type prio() :: undefined | integer().
+
+-endif.