52 static int ifmodule_read(
struct ast_channel *chan,
const char *cmd,
char *data,
53 char *buf,
size_t len)
70 .read = ifmodule_read,
75 static int unload_module(
void)
80 static int load_module(
void)
85 AST_MODULE_INFO_STANDARD(
ASTERISK_GPL_KEY,
"Checks if Asterisk module is loaded in memory");
Main Channel structure associated with a channel.
Asterisk main include file. File version handling, generic pbx functions.
int ast_custom_function_unregister(struct ast_custom_function *acf)
Unregister a custom function.
int ast_module_check(const char *name)
Check if module with the name given is loaded.
Data structure associated with a custom dialplan function.
Core PBX routines and definitions.
void ast_copy_string(char *dst, const char *src, size_t size)
Size-limited null-terminating string copy.
#define ASTERISK_GPL_KEY
The text the key() function should return.
Asterisk module definitions.
#define ast_custom_function_register(acf)
Register a custom function.