82 info->name =
"scope_test";
83 info->category =
"/main/logging/";
84 info->summary =
"Scope Trace Tests";
85 info->description =
"Scope Trace Tests";
#define AST_MODULE_INFO_STANDARD(keystr, desc)
Asterisk main include file. File version handling, generic pbx functions.
static int test_scope_enter_function(void)
char * ast_str_buffer(const struct ast_str *buf)
Returns the string buffer within the ast_str buf.
#define AST_TEST_REGISTER(cb)
static const char * str_appender(struct ast_str **buf, char *a)
#define ast_trace(level,...)
Print a basic trace message.
int ast_str_append(struct ast_str **buf, ssize_t max_len, const char *fmt,...)
Append to a thread local dynamic string.
#define ast_str_tmp(init_len, __expr)
#define ast_test_status_update(a, b, c...)
#define SCOPE_EXIT(...)
Scope Exit.
#define SCOPE_EXIT_EXPR(__expr,...)
The descriptor of a dynamic string XXX storage will be optimized later if needed We use the ts field ...
#define AST_TEST_UNREGISTER(cb)
static int load_module(void)
#define SCOPE_EXIT_RTN(...)
Scope Exit with return.
#define SCOPE_ENTER(level,...)
Non RAII_VAR Scope Trace macros The advantage of these macros is that the EXITs will have the actual ...
Support for logging to various files, console and syslog Configuration in file logger.conf.
#define SCOPE_EXIT_RTN_VALUE(__return_value,...)
Scope Exit with return value.
#define SCOPE_TRACE(level,...)
Print a trace message with details when a scope is entered or existed.
AST_TEST_DEFINE(scope_test)
static void test_scope_trace(void)
#define ASTERISK_GPL_KEY
The text the key() function should return.
Asterisk module definitions.
static int unload_module(void)