36 #include "asterisk/pbx.h"
40 static char *
app =
"SendImage";
Main Channel structure associated with a channel.
#define AST_MODULE_INFO_STANDARD(keystr, desc)
Asterisk main include file. File version handling, generic pbx functions.
static int sendimage_exec(struct ast_channel *chan, const char *data)
int ast_unregister_application(const char *app)
Unregister an application.
int ast_send_image(struct ast_channel *chan, const char *filename)
Sends an image.
General Asterisk channel definitions for image handling.
static force_inline int attribute_pure ast_strlen_zero(const char *s)
static int unload_module(void)
int ast_supports_images(struct ast_channel *chan)
Check for image support on a channel.
static int load_module(void)
void ast_log(int level, const char *file, int line, const char *function, const char *fmt,...)
Used for sending a log message This is the standard logger function. Probably the only way you will i...
int pbx_builtin_setvar_helper(struct ast_channel *chan, const char *name, const char *value)
Add a variable to the channel variable stack, removing the most recently set value for the same name...
#define ASTERISK_GPL_KEY
The text the key() function should return.
Asterisk module definitions.
union ast_frame::@172 data
#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.