summaryrefslogtreecommitdiff
path: root/pbx
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2017-11-19 17:30:49 -0500
committerCorey Farrell <git@cfware.com>2018-01-15 13:25:51 -0500
commit9cfdb81e913a8dd363ca4570b4eb4137de3b5837 (patch)
tree9f45c6c8a4dc0e78ecb43d5226424f9efe64a346 /pbx
parent35ae99c712d2b0de2f780269fbabf8ceaf8c11ec (diff)
loader: Add dependency fields to module structures.
* Declare 'requires' and 'enhances' text fields on module info structure. * Rename 'nonoptreq' to 'optional_modules'. * Update doxygen comments. Still need to investigate dependencies among modules I cannot compile. Change-Id: I3ad9547a0a6442409ff4e352a6d897bef2cc04bf
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_ael.c1
-rw-r--r--pbx/pbx_dundi.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c
index 6517b3aeb..d55f2d42a 100644
--- a/pbx/pbx_ael.c
+++ b/pbx/pbx_ael.c
@@ -292,6 +292,7 @@ AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "Asterisk Extension Langu
.load = load_module,
.unload = unload_module,
.reload = reload,
+ .requires = "res_ael_share",
);
#ifdef AAL_ARGCHECK
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index e0aeb4903..92e71981f 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -5063,5 +5063,5 @@ AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "Distributed Universal Nu
.load = load_module,
.unload = unload_module,
.reload = reload,
- .nonoptreq = "res_crypto",
+ .optional_modules = "res_crypto",
);