Thu Oct 11 06:44:45 2012

Asterisk developer's documentation


ast_module_info Struct Reference

#include <module.h>

Collaboration diagram for ast_module_info:

Collaboration graph
[legend]

Data Fields

const char buildopt_sum [33]
const char * description
unsigned int flags
const char * key
enum ast_module_load_result(* load )(void)
const char * name
int(* reload )(void)
struct ast_moduleself
int(* unload )(void)

Detailed Description

Definition at line 193 of file module.h.


Field Documentation

const char buildopt_sum[33]

The value of AST_BUILDOPT_SUM when this module was compiled

Definition at line 218 of file module.h.

Referenced by inspect_module().

const char* description

Definition at line 206 of file module.h.

Referenced by ast_module_reload(), ast_update_module_list(), inspect_module(), and load_resource().

unsigned int flags

Definition at line 215 of file module.h.

const char* key

This holds the ASTERISK_GPL_KEY, signifiying that you agree to the terms of the Asterisk license as stated in the ASTERISK_GPL_KEY. Your module will not load if it does not return the EXACT key string.

Definition at line 214 of file module.h.

Referenced by inspect_module().

Referenced by load_resource().

const char* name

Definition at line 205 of file module.h.

Referenced by ast_module_register().

int(* reload)(void)

struct ast_module* self [read]

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.

Definition at line 201 of file module.h.

Referenced by ast_module_register().

int(* unload)(void)


The documentation for this struct was generated from the following file:

Generated on Thu Oct 11 06:44:46 2012 for Asterisk - the Open Source PBX by  doxygen 1.5.6