mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
move more API into the ast_ namespace
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -46,8 +46,8 @@ typedef struct agi_command {
|
|||||||
struct agi_command *next;
|
struct agi_command *next;
|
||||||
} agi_command;
|
} agi_command;
|
||||||
|
|
||||||
int agi_register(agi_command *cmd);
|
int ast_agi_register(agi_command *cmd);
|
||||||
void agi_unregister(agi_command *cmd);
|
void ast_agi_unregister(agi_command *cmd);
|
||||||
|
|
||||||
#if defined(__cplusplus) || defined(c_plusplus)
|
#if defined(__cplusplus) || defined(c_plusplus)
|
||||||
}
|
}
|
||||||
|
@@ -1658,7 +1658,7 @@ static int help_workhorse(int fd, char *match[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int agi_register(agi_command *agi)
|
int ast_agi_register(agi_command *agi)
|
||||||
{
|
{
|
||||||
int x;
|
int x;
|
||||||
for (x=0; x<MAX_COMMANDS - 1; x++) {
|
for (x=0; x<MAX_COMMANDS - 1; x++) {
|
||||||
@@ -1677,7 +1677,7 @@ int agi_register(agi_command *agi)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void agi_unregister(agi_command *agi)
|
void ast_agi_unregister(agi_command *agi)
|
||||||
{
|
{
|
||||||
int x;
|
int x;
|
||||||
for (x=0; x<MAX_COMMANDS - 1; x++) {
|
for (x=0; x<MAX_COMMANDS - 1; x++) {
|
||||||
|
Reference in New Issue
Block a user