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
This commit is contained in:
Kevin P. Fleming
2007-11-20 19:28:10 +00:00
parent 90296ccdfe
commit 4d522da4aa
3 changed files with 14 additions and 14 deletions

View File

@@ -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 *);