mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01: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>
|
||||
|
||||
* src/ejabberd_auth.erl: Better count management and batch users
|
||||
|
@ -13,14 +13,7 @@
|
||||
get_global_option/1, get_local_option/1]).
|
||||
|
||||
-include("ejabberd.hrl").
|
||||
|
||||
-record(config, {key, value}).
|
||||
-record(local_config, {key, value}).
|
||||
-record(state, {opts = [],
|
||||
hosts = [],
|
||||
override_local = false,
|
||||
override_global = false,
|
||||
override_acls = false}).
|
||||
-include("ejabberd_config.hrl").
|
||||
|
||||
start() ->
|
||||
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