mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
0822a55f05
* src/ejabberd.cfg.example: Updated * src/ejabberd_auth.erl: Support for LDAP authentification * src/cyrsasl_digest.erl: Likewise * src/mod_register.erl: Likewise * src/ejabberd_c2s.erl: Likewise * src/eldap/: Imported "eldap" package * src/ejabberd_sm.erl: Bugfix * src/mod_muc/mod_muc_room.erl: Bugfixes SVN Revision: 176
42 lines
1.1 KiB
Erlang
42 lines
1.1 KiB
Erlang
%%%----------------------------------------------------------------------
|
|
%%% File : ejabberd.hrl
|
|
%%% Author : Alexey Shchepin <alexey@sevcom.net>
|
|
%%% Purpose :
|
|
%%% Created : 17 Nov 2002 by Alexey Shchepin <alexey@sevcom.net>
|
|
%%% Id : $Id$
|
|
%%%----------------------------------------------------------------------
|
|
|
|
-define(VERSION, "0.6-alpha").
|
|
|
|
%-define(ejabberd_debug, true).
|
|
%-define(DBGFSM, true).
|
|
|
|
-ifdef(ejabberd_debug).
|
|
-define(DEBUG(Format, Args), io:format("D(~p:~p:~p) : "++Format++"~n",
|
|
[self(),?MODULE,?LINE]++Args)).
|
|
-else.
|
|
-define(DEBUG(F,A),[]).
|
|
-endif.
|
|
|
|
-define(ERROR_MSG(Format, Args),
|
|
error_logger:error_msg("E(~p:~p:~p): "++Format++"~n",
|
|
[self(),?MODULE,?LINE]++Args)).
|
|
|
|
-define(INFO_MSG(Format, Args),
|
|
error_logger:info_msg("I(~p:~p:~p): "++Format++"~n",
|
|
[self(),?MODULE,?LINE]++Args)).
|
|
|
|
|
|
%-define(MYNAME,"e.localhost").
|
|
-define(MYNAME, ejabberd_config:get_global_option(host)).
|
|
-define(S2STIMEOUT, 600000).
|
|
%-define(S2STIMEOUT, 6000).
|
|
|
|
-define(MSGS_DIR, "msgs").
|
|
-define(CONFIG_PATH, "ejabberd.cfg").
|
|
-define(LOG_PATH, "ejabberd.log").
|
|
|
|
|
|
-define(PRIVACY_SUPPORT, true).
|
|
|