diff options
author | Mickael Remond <mremond@process-one.net> | 2015-05-26 10:08:46 +0200 |
---|---|---|
committer | Mickael Remond <mremond@process-one.net> | 2015-05-26 10:08:46 +0200 |
commit | 9574e71e8db595ce7b2fa2f8fbfc38deec2ad74b (patch) | |
tree | a5f48f02dd46b7efa064de176cc563a0a8d8ea89 /include | |
parent | Fix merging of not yaml config files (diff) |
Include session record from header file instead of duplicating it
Diffstat (limited to 'include')
-rw-r--r-- | include/ejabberd_sm.hrl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ejabberd_sm.hrl b/include/ejabberd_sm.hrl index 756f4b88..bae60ccd 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. |