82 info->name =
"scope_test";
83 info->category =
"/main/logging/";
84 info->summary =
"Scope Trace Tests";
85 info->description =
"Scope Trace Tests";
Asterisk main include file. File version handling, generic pbx functions.
#define SCOPE_EXIT_RTN(...)
#define SCOPE_EXIT_RTN_VALUE(__return_value,...)
#define SCOPE_TRACE(__level,...)
#define SCOPE_ENTER(level,...)
#define SCOPE_EXIT_EXPR(__expr,...)
#define ast_trace(level,...)
Support for logging to various files, console and syslog Configuration in file logger....
Asterisk module definitions.
#define AST_MODULE_INFO_STANDARD(keystr, desc)
#define ASTERISK_GPL_KEY
The text the key() function should return.
@ AST_MODULE_LOAD_SUCCESS
int ast_str_append(struct ast_str **buf, ssize_t max_len, const char *fmt,...)
Append to a thread local dynamic string.
char * ast_str_buffer(const struct ast_str *buf)
Returns the string buffer within the ast_str buf.
#define ast_str_tmp(init_len, __expr)
Provides a temporary ast_str and returns a copy of its buffer.
Support for dynamic strings.
#define AST_TEST_REGISTER(cb)
#define ast_test_status_update(a, b, c...)
#define AST_TEST_UNREGISTER(cb)
static const char * str_appender(struct ast_str **buf, char *a)
AST_TEST_DEFINE(scope_test)
static int test_scope_enter_function(void)
static void test_scope_trace(void)
static int load_module(void)
static int unload_module(void)