diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2001-05-07 00:43:32 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2001-05-07 00:43:32 +0000 |
commit | 90c3a1ec2ec9f47f0c1ab24a23fe783ccdb5dcb5 (patch) | |
tree | 19785e87a52fa74ecc72b19cf04b901d677f228b /include/asterisk/channel_pvt.h | |
parent | e509ea55c0c06ddd5bc57d6ed8e47fae3aa6ce66 (diff) |
Version 0.1.8 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@314 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/channel_pvt.h')
-rwxr-xr-x | include/asterisk/channel_pvt.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/asterisk/channel_pvt.h b/include/asterisk/channel_pvt.h index 7fc464ebb..a8a2e654d 100755 --- a/include/asterisk/channel_pvt.h +++ b/include/asterisk/channel_pvt.h @@ -23,7 +23,7 @@ extern "C" { struct ast_channel_pvt { /* Private data used by channel backend */ - void *pvt; + void *pvt; /* Write translation path */ struct ast_trans_pvt *writetrans; /* Read translation path */ @@ -51,6 +51,14 @@ struct ast_channel_pvt { struct ast_frame * (*exception)(struct ast_channel *chan); /* Bridge two channels of the same type together */ int (*bridge)(struct ast_channel *c0, struct ast_channel *c1, int flags, struct ast_frame **fo, struct ast_channel **rc); + /* Indicate a particular condition (e.g. AST_CONTROL_BUSY or AST_CONTROL_RINGING or AST_CONTROL_CONGESTION */ + int (*indicate)(struct ast_channel *c, int condition); + /* Fix up a channel: If a channel is consumed, this is called. Basically update any ->owner links */ + int (*fixup)(struct ast_channel *oldchan, struct ast_channel *newchan); + /* Set a given option */ + int (*setoption)(struct ast_channel *chan, int option, void *data, int datalen); + /* Query a given option */ + int (*queryoption)(struct ast_channel *chan, int option, void *data, int *datalen); }; /* Create a channel structure */ |