Packages
ejabberd_dev
15.9.0
A package to help with building ejabberd modules. This package includes source and header files from the ejabberd project that are necessary in order to build a gen_mod module.
Current section
Files
Jump to
Current section
Files
include/ejabberd_sm.hrl
-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()}.
-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().
-endif.