34 #include "asterisk/module.h"
59 static char *
app =
"CELGenUserEvent";
Main Channel structure associated with a channel.
static int unload_module(void)
Asterisk main include file. File version handling, generic pbx functions.
int ast_cel_report_event(struct ast_channel *chan, enum ast_cel_event_type event_type, const char *userdefevname, const char *extra, struct ast_channel *peer2)
Report a channel event.
#define AST_DECLARE_APP_ARGS(name, arglist)
Declare a structure to hold an application's arguments.
static int celgenuserevent_exec(struct ast_channel *chan, const char *data)
#define AST_MODULE_INFO(keystr, flags_to_set, desc, fields...)
int ast_unregister_application(const char *app)
Unregister an application.
General Asterisk PBX channel definitions.
static force_inline int attribute_pure ast_strlen_zero(const char *s)
static int load_module(void)
#define ast_strdupa(s)
duplicate a string in memory from the stack
static void parse(struct mgcp_request *req)
Application convenience functions, designed to give consistent look and feel to Asterisk apps...
a user-defined event, the event name field should be set
#define AST_APP_ARG(name)
Define an application argument.
#define AST_STANDARD_APP_ARGS(args, parse)
Performs the 'standard' argument separation process for an application.
#define ASTERISK_GPL_KEY
The text the key() function should return.
#define ast_register_application_xml(app, execute)
Register an application using XML documentation.
#define ASTERISK_FILE_VERSION(file, version)
Register/unregister a source code file with the core.