29 static void g729_destroy(
struct ast_format *format)
39 static void g729_generate_sdp_fmtp(
const struct ast_format *format,
unsigned int payload,
struct ast_str **str)
51 .format_clone = g729_clone,
52 .format_generate_sdp_fmtp = g729_generate_sdp_fmtp,
55 static int load_module(
void)
64 static int unload_module(
void)
69 AST_MODULE_INFO(
ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER,
"G.729 Format Attribute Module",
70 .support_level = AST_MODULE_SUPPORT_CORE,
72 .unload = unload_module,
Asterisk main include file. File version handling, generic pbx functions.
int ast_str_append(struct ast_str **buf, ssize_t max_len, const char *fmt,...)
Append to a thread local dynamic string.
Support for dynamic strings.
Module has failed to load, may be in an inconsistent state.
#define ASTERISK_GPL_KEY
The text the key() function should return.
Asterisk module definitions.