aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-01-17 19:50:12 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-01-17 19:50:12 +0000
commit2511051beb79c1f0284738fb3042507dd31e194d (patch)
treeb64992265dc2369c16bcd771a150d7081fa2edc7 /include
parent47ff9c54029a3012c7112e808a1c435e811c9823 (diff)
Version 0.3.0 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@586 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/rtp.h6
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);