23#ifndef _ASTERISK_AGI_H
24#define _ASTERISK_AGI_H
26#if defined(__cplusplus) || defined(c_plusplus)
141 (
int fd,
struct ast_channel *chan,
char *fmt, ...),
144#if defined(__cplusplus) || defined(c_plusplus)
int ast_agi_send(int fd, struct ast_channel *chan, char *fmt,...)
Sends a string of text to an application connected via AGI.
int ast_agi_register(struct ast_module *mod, agi_command *cmd)
Registers an AGI command.
int ast_agi_unregister_multiple(struct agi_command *cmd, unsigned int len)
Unregisters a group of AGI commands, provided as an array of struct agi_command entries.
int ast_agi_unregister(agi_command *cmd)
Unregisters an AGI command.
struct agi_command agi_command
int ast_agi_register_multiple(struct ast_module *mod, struct agi_command *cmd, unsigned int len)
Registers a group of AGI commands, provided as an array of struct agi_command entries.
Standard Command Line Interface.
static int len(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t buflen)
#define AST_LIST_ENTRY(type)
Declare a forward link structure inside a list entry.
Optional API function macros.
#define AST_OPTIONAL_API_UNAVAILABLE
A common value for optional API stub functions to return.
#define AST_OPTIONAL_API_ATTR(result, attr, name, proto, stub)
Declare an optional API function with compiler attributes.
#define AST_OPTIONAL_API(result, name, proto, stub)
Declare an optional API function.
struct agi_command::@181 list
int(*const handler)(struct ast_channel *chan, AGI *agi, int argc, const char *const argv[])
const char *const summary
const char *const seealso
const char *const cmda[AST_MAX_CMD_LEN]
struct ast_speech * speech
Main Channel structure associated with a channel.
Asterisk XML Documentation API.
ast_doc_src
From where the documentation come from, this structure is useful for use it inside application/functi...