mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-25 14:24:55 +02:00
* src/ejabberd_config.erl: Refactoring: Move internal data structure to an include file.
* src/ejabberd_config.hrl: Likewise. SVN Revision: 969
This commit is contained in:
parent
d6967f2745
commit
76f7e643e3
@ -1,3 +1,9 @@
|
|||||||
|
2007-11-05 Mickael Remond <mremond@process-one.net>
|
||||||
|
|
||||||
|
* src/ejabberd_config.erl: Refactoring: Move internal
|
||||||
|
data structure to an include file.
|
||||||
|
* src/ejabberd_config.hrl: Likewise.
|
||||||
|
|
||||||
2007-11-03 Mickael Remond <mremond@process-one.net>
|
2007-11-03 Mickael Remond <mremond@process-one.net>
|
||||||
|
|
||||||
* src/ejabberd_auth.erl: Better count management and batch users
|
* src/ejabberd_auth.erl: Better count management and batch users
|
||||||
|
@ -13,14 +13,7 @@
|
|||||||
get_global_option/1, get_local_option/1]).
|
get_global_option/1, get_local_option/1]).
|
||||||
|
|
||||||
-include("ejabberd.hrl").
|
-include("ejabberd.hrl").
|
||||||
|
-include("ejabberd_config.hrl").
|
||||||
-record(config, {key, value}).
|
|
||||||
-record(local_config, {key, value}).
|
|
||||||
-record(state, {opts = [],
|
|
||||||
hosts = [],
|
|
||||||
override_local = false,
|
|
||||||
override_global = false,
|
|
||||||
override_acls = false}).
|
|
||||||
|
|
||||||
start() ->
|
start() ->
|
||||||
mnesia:create_table(config,
|
mnesia:create_table(config,
|
||||||
|
15
src/ejabberd_config.hrl
Normal file
15
src/ejabberd_config.hrl
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
%%%----------------------------------------------------------------------
|
||||||
|
%%% File : ejabberd_config.hrl
|
||||||
|
%%% Author : Mickael Remond <mickael.remond@process-one.net>
|
||||||
|
%%% Purpose : ejabberd configuration internal data structures.
|
||||||
|
%%% Created : 5 Nov 2007 by Mickael Remond <mickael.remond@process-one.net>
|
||||||
|
%%% Id : $Id: $
|
||||||
|
%%%----------------------------------------------------------------------
|
||||||
|
|
||||||
|
-record(config, {key, value}).
|
||||||
|
-record(local_config, {key, value}).
|
||||||
|
-record(state, {opts = [],
|
||||||
|
hosts = [],
|
||||||
|
override_local = false,
|
||||||
|
override_global = false,
|
||||||
|
override_acls = false}).
|
Loading…
Reference in New Issue
Block a user