summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2007-11-20 19:28:10 +0000
committerKevin P. Fleming <kpfleming@digium.com>2007-11-20 19:28:10 +0000
commit4d522da4aad7148fc43cdc9ff94e0de65b13cc33 (patch)
tree701ffac4f50e61ff45768be53542952dd98fa10c /include
parent90296ccdfe7b99d0f4635a02231ee2cca366b4e7 (diff)
switch compile-time option checking to string storage mode in this branch too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/module.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/asterisk/module.h b/include/asterisk/module.h
index 98a2b8fb9..4091045f8 100644
--- a/include/asterisk/module.h
+++ b/include/asterisk/module.h
@@ -194,10 +194,11 @@ enum ast_module_flags {
struct ast_module_info {
- /*! The 'self' pointer for a module; it will be set by the loader before
- it calls the module's load_module() entrypoint, and used by various
- other macros that need to identify the module.
- */
+ /*!
+ * The 'self' pointer for a module; it will be set by the loader before
+ * it calls the module's load_module() entrypoint, and used by various
+ * other macros that need to identify the module.
+ */
struct ast_module *self;
enum ast_module_load_result (*load)(void); /*!< register stuff etc. Optional. */
@@ -216,8 +217,9 @@ struct ast_module_info {
const char *key;
unsigned int flags;
+
/*! The value of AST_BUILDOPT_SUM when this module was compiled */
- uint32_t buildopt_sum[4];
+ const char buildopt_sum[33];
};
void ast_module_register(const struct ast_module_info *);