43 #define CATEGORY "/main/optional_api/" 73 #define SYMNAME "test_option" 81 info->name = __func__;
83 info->summary =
"Test optional API publishing.";
84 info->description =
"Test optional API publishing.";
120 info->name = __func__;
122 info->summary =
"Test optional API publishing.";
123 info->description =
"Test optional API publishing.";
ast_optional_fn test_optional_ref
void ast_optional_api_provide(const char *symname, ast_optional_fn impl)
Asterisk main include file. File version handling, generic pbx functions.
Optional API function macros.
#define AST_TEST_REGISTER(cb)
AST_TEST_DEFINE(test_provide_first)
enum was_called was_called_result
static int unload_module(void)
#define ast_test_status_update(a, b, c...)
static int load_module(void)
static void test_optional(void)
void ast_optional_api_unprovide(const char *symname, ast_optional_fn impl)
static void test_optional_stub(void)
#define AST_TEST_UNREGISTER(cb)
void ast_optional_api_use(const char *symname, ast_optional_fn *optional_ref, ast_optional_fn stub, const char *module)
void ast_optional_api_unuse(const char *symname, ast_optional_fn *optional_ref, const char *module)
AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS|AST_MODFLAG_LOAD_ORDER, "HTTP Phone Provisioning",.support_level=AST_MODULE_SUPPORT_EXTENDED,.load=load_module,.unload=unload_module,.reload=reload,.load_pri=AST_MODPRI_CHANNEL_DEPEND,.requires="http",)
static void test_optional_impl(void)
#define ASTERISK_GPL_KEY
The text the key() function should return.
Asterisk module definitions.