Skip to content

Commit

Permalink
Rename application config default macros
Browse files Browse the repository at this point in the history
Rename ?PSTNPROXY_DEFAULTS to ?PSTNPROXY_CONFIG_DEFAULTS etc.
  • Loading branch information
mikma committed Apr 11, 2010
1 parent b1a81b1 commit 87528e0
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/appserver.erl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
%% @end
%%--------------------------------------------------------------------
config_defaults() ->
?APPSERVER_DEFAULTS.
?APPSERVER_CONFIG_DEFAULTS.

%%--------------------------------------------------------------------
%% @spec () -> #yxa_app_init{}
Expand Down
2 changes: 1 addition & 1 deletion src/event/eventserver.erl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
%% @end
%%--------------------------------------------------------------------
config_defaults() ->
?EVENTSERVER_DEFAULTS.
?EVENTSERVER_CONFIG_DEFAULTS.

%%--------------------------------------------------------------------
%% @spec () -> #yxa_app_init{}
Expand Down
14 changes: 7 additions & 7 deletions src/include/yxa_config.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@
%% 'record_route' for pstnproxy), or add a setting that is completely application
%% specific, like 'appserver' for incomingproxy.
%%
-define(PSTNPROXY_DEFAULTS,
-define(PSTNPROXY_CONFIG_DEFAULTS,
[
#cfg_entry{key = internal_to_e164,
default = [],
Expand Down Expand Up @@ -498,7 +498,7 @@
}
]).
-define(INCOMINGPROXY_DEFAULTS,
-define(INCOMINGPROXY_CONFIG_DEFAULTS,
[
#cfg_entry{key = internal_to_e164,
list_of = true,
Expand Down Expand Up @@ -553,7 +553,7 @@
}
].
-define(OUTGOINGPROXY_DEFAULTS,
-define(OUTGOINGPROXY_CONFIG_DEFAULTS,
[
#cfg_entry{key = sipproxy,
type = sip_sipurl
Expand Down Expand Up @@ -594,7 +594,7 @@
}
].
-define(APPSERVER_DEFAULTS,
-define(APPSERVER_CONFIG_DEFAULTS,
[
#cfg_entry{key = internal_to_e164,
default = [],
Expand All @@ -617,7 +617,7 @@
}
].
-define(TESTSERVER_DEFAULTS,
-define(TESTSERVER_CONFIG_DEFAULTS,
[
#cfg_entry{key = testserver_userdb,
default = [],
Expand All @@ -627,7 +627,7 @@
}
].
-define(ADMIN_WWW_DEFAULTS,
-define(ADMIN_WWW_CONFIG_DEFAULTS,
[
#cfg_entry{key = httpd_config,
type = string,
Expand All @@ -639,7 +639,7 @@
}
].
-define(EVENTSERVER_DEFAULTS,
-define(EVENTSERVER_CONFIG_DEFAULTS,
[
#cfg_entry{key = presence_min_publish_time,
type = integer,
Expand Down
2 changes: 1 addition & 1 deletion src/incomingproxy.erl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
%% @end
%%--------------------------------------------------------------------
config_defaults() ->
?INCOMINGPROXY_DEFAULTS.
?INCOMINGPROXY_CONFIG_DEFAULTS.

%%--------------------------------------------------------------------
%% @spec () -> #yxa_app_init{}
Expand Down
2 changes: 1 addition & 1 deletion src/outgoingproxy.erl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
%% @end
%%--------------------------------------------------------------------
config_defaults() ->
?OUTGOINGPROXY_DEFAULTS.
?OUTGOINGPROXY_CONFIG_DEFAULTS.

%%--------------------------------------------------------------------
%% @spec () -> #yxa_app_init{}
Expand Down
2 changes: 1 addition & 1 deletion src/pstnproxy.erl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
%% @end
%%--------------------------------------------------------------------
config_defaults() ->
?PSTNPROXY_DEFAULTS.
?PSTNPROXY_CONFIG_DEFAULTS.

%%--------------------------------------------------------------------
%% @spec () -> #yxa_app_init{}
Expand Down
2 changes: 1 addition & 1 deletion src/testclientserver/testserver.erl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
%% @end
%%--------------------------------------------------------------------
config_defaults() ->
?TESTSERVER_DEFAULTS.
?TESTSERVER_CONFIG_DEFAULTS.

%%--------------------------------------------------------------------
%% @spec () -> term()
Expand Down

0 comments on commit 87528e0

Please sign in to comment.