| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
#ifndef _PBX_PRIVATE_H |
| 24 |
#define _PBX_PRIVATE_H |
| 25 |
|
| 26 |
|
| 27 |
int raise_exception(struct ast_channel *chan, const char *reason, int priority); |
| 28 |
void wait_for_hangup(struct ast_channel *chan, const void *data); |
| 29 |
void set_ext_pri(struct ast_channel *c, const char *exten, int pri); |
| 30 |
|
| 31 |
|
| 32 |
void unreference_cached_app(struct ast_app *app); |
| 33 |
|
| 34 |
|
| 35 |
struct ast_ignorepat; |
| 36 |
AST_VECTOR(ast_ignorepats, struct ast_ignorepat *); |
| 37 |
|
| 38 |
struct ast_ignorepat *ignorepat_alloc(const char *value, const char *registrar); |
| 39 |
void ignorepat_free(struct ast_ignorepat *ip); |
| 40 |
|
| 41 |
|
| 42 |
struct ast_include; |
| 43 |
AST_VECTOR(ast_includes, struct ast_include *); |
| 44 |
|
| 45 |
|
| 46 |
struct ast_include *include_alloc(const char *value, const char *registrar); |
| 47 |
|
| 48 |
void include_free(struct ast_include *inc); |
| 49 |
int include_valid(const struct ast_include *inc); |
| 50 |
const char *include_rname(const struct ast_include *inc); |
| 51 |
|
| 52 |
|
| 53 |
struct ast_sw; |
| 54 |
AST_VECTOR(ast_sws, struct ast_sw *); |
| 55 |
struct ast_sw *sw_alloc(const char *value, const char *data, int eval, const char *registrar); |
| 56 |
void sw_free(struct ast_sw *sw); |
| 57 |
|
| 58 |
|
| 59 |
int indicate_congestion(struct ast_channel *, const char *); |
| 60 |
int indicate_busy(struct ast_channel *, const char *); |
| 61 |
|
| 62 |
|
| 63 |
struct ast_switch *pbx_findswitch(const char *sw); |
| 64 |
|
| 65 |
|
| 66 |
const char *app_name(struct ast_app *app); |
| 67 |
|
| 68 |
#define VAR_BUF_SIZE 4096 |
| 69 |
|
| 70 |
#endif |