#include "asterisk/cli.h"
#include "asterisk/xmldoc.h"
#include "asterisk/optional_api.h"


Go to the source code of this file.
Data Structures | |
| struct | agi_command |
| struct | agi_state |
Typedefs | |
| typedef struct agi_state | AGI |
Functions | |
| static void | __init__ast_agi_register (void) |
| static void | __init__ast_agi_register_multiple (void) |
| static void | __init__ast_agi_send (void) |
| static void | __init__ast_agi_unregister (void) |
| static void | __init__ast_agi_unregister_multiple (void) |
| static int | __stub__ast_agi_register (struct ast_module *mod, agi_command *cmd) |
| Registers an AGI command. | |
| static int | __stub__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. | |
| static int | __stub__ast_agi_send (int fd, struct ast_channel *chan, char *fmt,...) |
| Sends a string of text to an application connected via AGI. | |
| static int | __stub__ast_agi_unregister (struct ast_module *mod, agi_command *cmd) |
| Unregisters an AGI command. | |
| static int | __stub__ast_agi_unregister_multiple (struct ast_module *mod, struct agi_command *cmd, unsigned int len) |
| Unregisters a group of AGI commands, provided as an array of struct agi_command entries. | |
| static | typeof (__stub__ast_agi_send) __ref__ast_agi_send |
| static | typeof (__stub__ast_agi_unregister_multiple) __ref__ast_agi_unregister_multiple |
| static | typeof (__stub__ast_agi_register_multiple) __ref__ast_agi_register_multiple |
| static | typeof (__stub__ast_agi_unregister) __ref__ast_agi_unregister |
| static | typeof (__stub__ast_agi_register) __ref__ast_agi_register |
Definition in file agi.h.
| static void __init__ast_agi_register | ( | void | ) | [static] |
| static void __init__ast_agi_register_multiple | ( | void | ) | [static] |
| static void __init__ast_agi_send | ( | void | ) | [static] |
| static void __init__ast_agi_unregister | ( | void | ) | [static] |
| static void __init__ast_agi_unregister_multiple | ( | void | ) | [static] |
| static int __stub__ast_agi_register | ( | struct ast_module * | mod, | |
| agi_command * | cmd | |||
| ) | [static] |
Registers an AGI command.
| mod | Pointer to the module_info structure for the module that is registering the command | |
| cmd | Pointer to the descriptor for the command |
| 1 | on success | |
| 0 | the command is already registered | |
| AST_OPTIONAL_API_UNAVAILABLE | the module is not loaded. |
Definition at line 78 of file agi.h.
References AST_OPTIONAL_API_UNAVAILABLE.
00078 { return AST_OPTIONAL_API_UNAVAILABLE; });
| static int __stub__ast_agi_register_multiple | ( | struct ast_module * | mod, | |
| struct agi_command * | cmd, | |||
| unsigned int | len | |||
| ) | [static] |
Registers a group of AGI commands, provided as an array of struct agi_command entries.
| mod | Pointer to the module_info structure for the module that is registering the commands | |
| cmd | Pointer to the first entry in the array of command descriptors | |
| len | Length of the array (use the ARRAY_LEN macro to determine this easily) |
Definition at line 111 of file agi.h.
References AST_OPTIONAL_API_UNAVAILABLE.
00111 { return AST_OPTIONAL_API_UNAVAILABLE; });
| static int __stub__ast_agi_send | ( | int | fd, | |
| struct ast_channel * | chan, | |||
| char * | fmt, | |||
| ... | ||||
| ) | [static] |
Sends a string of text to an application connected via AGI.
| fd | The file descriptor for the AGI session (from struct agi_state) | |
| chan | Pointer to an associated Asterisk channel, if any | |
| fmt | printf-style format string |
Definition at line 144 of file agi.h.
References AST_OPTIONAL_API_UNAVAILABLE.
00144 { return AST_OPTIONAL_API_UNAVAILABLE; });
| static int __stub__ast_agi_unregister | ( | struct ast_module * | mod, | |
| agi_command * | cmd | |||
| ) | [static] |
Unregisters an AGI command.
| mod | Pointer to the module_info structure for the module that is unregistering the command | |
| cmd | Pointer to the descriptor for the command |
Definition at line 92 of file agi.h.
References AST_OPTIONAL_API_UNAVAILABLE.
00092 { return AST_OPTIONAL_API_UNAVAILABLE; });
| static int __stub__ast_agi_unregister_multiple | ( | struct ast_module * | mod, | |
| struct agi_command * | cmd, | |||
| unsigned int | len | |||
| ) | [static] |
Unregisters a group of AGI commands, provided as an array of struct agi_command entries.
| mod | Pointer to the module_info structure for the module that is unregistering the commands | |
| cmd | Pointer to the first entry in the array of command descriptors | |
| len | Length of the array (use the ARRAY_LEN macro to determine this easily) |
Definition at line 129 of file agi.h.
References AST_OPTIONAL_API_UNAVAILABLE.
00129 { return AST_OPTIONAL_API_UNAVAILABLE; });
| static typeof | ( | __stub__ast_agi_send | ) | [static] |
| static typeof | ( | __stub__ast_agi_unregister_multiple | ) | [static] |
| static typeof | ( | __stub__ast_agi_register_multiple | ) | [static] |
| static typeof | ( | __stub__ast_agi_unregister | ) | [static] |
| static typeof | ( | __stub__ast_agi_register | ) | [static] |
1.5.9