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:
Kevin P. Fleming
2006-09-20 04:45:45 +00:00
parent 41d3e99e28
commit ea399862c4
2 changed files with 4 additions and 4 deletions

View File

@@ -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)
} }

View File

@@ -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++) {