|
|
|
@ -183,10 +183,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. */
|
|
|
|
@ -203,7 +204,9 @@ struct ast_module_info {
|
|
|
|
|
|
|
|
|
|
const char *key;
|
|
|
|
|
unsigned int flags;
|
|
|
|
|
const char buildopt_sum[33]; /* The value of AST_BUILDOPT_SUM when this module was compiled */
|
|
|
|
|
|
|
|
|
|
/*! The value of AST_BUILDOPT_SUM when this module was compiled */
|
|
|
|
|
const char buildopt_sum[33];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void ast_module_register(const struct ast_module_info *);
|
|
|
|
|