aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2002-07-31 02:18:29 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2002-07-31 02:18:29 +0000
commit461186b02bc30887c52283de9613035e81698dcf (patch)
tree75024321b13ef734fe5c5ed518b9d67b9d8a6f50
parent81431e329d8d34abb6c22df238b7ffdb1f0016d6 (diff)
Version 0.2.0 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@496 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xinclude/asterisk/rtp.h1
-rwxr-xr-xres/res_crypto.c4
2 files changed, 4 insertions, 1 deletions
diff --git a/include/asterisk/rtp.h b/include/asterisk/rtp.h
index 7c66a85da..791e46e9f 100755
--- a/include/asterisk/rtp.h
+++ b/include/asterisk/rtp.h
@@ -46,6 +46,7 @@ int ast2rtp(int id);
int rtp2ast(int id);
+char *ast2rtpn(int id);
#if defined(__cplusplus) || defined(c_plusplus)
}
diff --git a/res/res_crypto.c b/res/res_crypto.c
index 6d9b4353e..5ac2e441b 100755
--- a/res/res_crypto.c
+++ b/res/res_crypto.c
@@ -81,11 +81,13 @@ struct ast_key {
static struct ast_key *keys = NULL;
+
+#if 0
static int fdprint(int fd, char *s)
{
return write(fd, s, strlen(s) + 1);
}
-
+#endif
static int pw_cb(char *buf, int size, int rwflag, void *userdata)
{
struct ast_key *key = (struct ast_key *)userdata;