Asterisk - The Open Source Telephony Project  21.4.1
Data Structures | Functions | Variables
test_res_stasis.c File Reference

Test Stasis Application API.

Author
David M. Lee, II <dlee@digium.com> 
.
More...

#include "asterisk.h"
#include "asterisk/module.h"
#include "asterisk/test.h"
#include "asterisk/stasis_app.h"

Go to the source code of this file.

Data Structures

struct  app_data
 

Functions

static void __reg_module (void)
 
static void __unreg_module (void)
 
static struct app_dataapp_data_create (void)
 
static void app_data_dtor (void *obj)
 
struct ast_moduleAST_MODULE_SELF_SYM (void)
 
 AST_TEST_DEFINE (app_invoke_dne)
 
 AST_TEST_DEFINE (app_invoke_one)
 
 AST_TEST_DEFINE (app_replaced)
 
static int load_module (void)
 
static void test_handler (void *data, const char *app_name, struct ast_json *message)
 
static int unload_module (void)
 

Variables

static struct ast_module_info __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_DEFAULT , .description = "Stasis Core testing" , .key = "This paragraph is copyright (c) 2006 by Digium, Inc. \In order for your module to load, it must return this \key via a function called \"key\". Any code which \includes this paragraph must be licensed under the GNU \General Public License version 2 or later (at your \option). In addition to Digium's general reservations \of rights, Digium expressly reserves the right to \allow other parties to license this paragraph under \different terms. Any use of Digium, Inc. trademarks or \logos (including \"Asterisk\" or \"Digium\") without \express written permission of Digium, Inc. is prohibited.\n" , .buildopt_sum = AST_BUILDOPT_SUM, .support_level = AST_MODULE_SUPPORT_CORE, .load = load_module, .unload = unload_module, .requires = "res_stasis", }
 
static const struct ast_module_infoast_module_info = &__mod_info
 
static const char * test_category = "/stasis/res/"
 

Detailed Description

Test Stasis Application API.

Author
David M. Lee, II <dlee@digium.com> 
.

Definition in file test_res_stasis.c.