mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-11 04:18:21 +00:00
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:
@@ -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 *);
|
||||
|
||||
Reference in New Issue
Block a user