diff options
author | Mark Spencer <markster@digium.com> | 2003-01-17 19:50:12 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-01-17 19:50:12 +0000 |
commit | 32c3738fb82b88f01dd95055c9adcd3493ba9909 (patch) | |
tree | b64992265dc2369c16bcd771a150d7081fa2edc7 /include | |
parent | 5da3961f68090b30d07ab1c49c2c0fe6144e516b (diff) |
Version 0.3.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/rtp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asterisk/rtp.h b/include/asterisk/rtp.h index 791e46e9f..8b21767f3 100755 --- a/include/asterisk/rtp.h +++ b/include/asterisk/rtp.h @@ -32,6 +32,8 @@ struct ast_rtp *ast_rtp_new(struct sched_context *sched, struct io_context *io); void ast_rtp_set_peer(struct ast_rtp *rtp, struct sockaddr_in *them); +void ast_rtp_get_peer(struct ast_rtp *rpt, struct sockaddr_in *them); + void ast_rtp_get_us(struct ast_rtp *rtp, struct sockaddr_in *us); void ast_rtp_destroy(struct ast_rtp *rtp); @@ -42,6 +44,10 @@ void ast_rtp_set_data(struct ast_rtp *rtp, void *data); int ast_rtp_write(struct ast_rtp *rtp, struct ast_frame *f); +int ast_rtp_senddigit(struct ast_rtp *rtp, char digit); + +int ast_rtp_settos(struct ast_rtp *rtp, int tos); + int ast2rtp(int id); int rtp2ast(int id); |