diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2001-03-30 16:31:28 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2001-03-30 16:31:28 +0000 |
commit | 6f57feffd96882d0436a0a183a1f18f5284bf891 (patch) | |
tree | 592a969aef7199a701dd3f8bff17d2737c51a2b2 /include/asterisk/pbx.h | |
parent | a775cc54c134e05e3e24dcfe842e02f898b645a8 (diff) |
Version 0.1.7 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@258 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/pbx.h')
-rwxr-xr-x | include/asterisk/pbx.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h index 95c510fc8..45758a042 100755 --- a/include/asterisk/pbx.h +++ b/include/asterisk/pbx.h @@ -43,7 +43,8 @@ struct ast_context *ast_context_find(char *name); /* Create a new thread and start the PBX (or whatever) */ int ast_pbx_start(struct ast_channel *c); - +/* Execute the PBX in the current thread */ +int ast_pbx_run(struct ast_channel *c); /* Add an extension to an extension context, this time with an ast_context * */ int ast_add_extension2(struct ast_context *con, @@ -74,6 +75,14 @@ int ast_exec_extension(struct ast_channel *c, char *context, char *exten, int pr /* Longest extension */ int ast_pbx_longest_extension(char *context); +/* Add an include */ +int ast_context_add_include(char *context, char *include); +int ast_context_add_include2(struct ast_context *con, char *include); + +/* Remove an include */ +int ast_context_remove_include(char *context, char *include); +int ast_context_remove_include2(struct ast_context *con, char *include); + #if defined(__cplusplus) || defined(c_plusplus) } #endif |