summaryrefslogtreecommitdiffstats
path: root/thirdparties/mac/include/srtp/srtp_priv.h
diff options
context:
space:
mode:
authorSystem Administrator <root@Mamadous-iMac.local>2015-12-01 23:14:55 +0100
committerSystem Administrator <root@Mamadous-iMac.local>2015-12-01 23:14:55 +0100
commit0e56b468eeaf711e4594aba83a15f2944cfb58b9 (patch)
tree2829f03113b87226dc85c94a23855753a5905af2 /thirdparties/mac/include/srtp/srtp_priv.h
parent7ff6a247a8ec64673fa7920225b47a8b9224f078 (diff)
downloaddoubango-0e56b468eeaf711e4594aba83a15f2944cfb58b9.zip
doubango-0e56b468eeaf711e4594aba83a15f2944cfb58b9.tar.gz
Update binaries and code source for OSX
Diffstat (limited to 'thirdparties/mac/include/srtp/srtp_priv.h')
-rwxr-xr-x[-rw-r--r--]thirdparties/mac/include/srtp/srtp_priv.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/thirdparties/mac/include/srtp/srtp_priv.h b/thirdparties/mac/include/srtp/srtp_priv.h
index 2b90a44..170df5b 100644..100755
--- a/thirdparties/mac/include/srtp/srtp_priv.h
+++ b/thirdparties/mac/include/srtp/srtp_priv.h
@@ -45,10 +45,20 @@
#ifndef SRTP_PRIV_H
#define SRTP_PRIV_H
+#include "config.h"
#include "srtp.h"
#include "rdbx.h"
#include "rdb.h"
#include "integers.h"
+#include "crypto.h"
+#include "cipher.h"
+#include "auth.h"
+#include "aes.h"
+#include "key.h"
+#include "crypto_kernel.h"
+
+#define SRTP_VER_STRING PACKAGE_STRING
+#define SRTP_VERSION PACKAGE_VERSION
/*
* an srtp_hdr_t represents the srtp header
@@ -88,7 +98,7 @@ typedef struct {
unsigned char x:1; /* header extension flag */
unsigned char cc:4; /* CSRC count */
unsigned char m:1; /* marker bit */
- unsigned pt:7; /* payload type */
+ unsigned char pt:7; /* payload type */
uint16_t seq; /* sequence number */
uint32_t ts; /* timestamp */
uint32_t ssrc; /* synchronization source */
@@ -233,6 +243,7 @@ typedef struct srtp_stream_ctx_t {
typedef struct srtp_ctx_t {
srtp_stream_ctx_t *stream_list; /* linked list of streams */
srtp_stream_ctx_t *stream_template; /* act as template for other streams */
+ void *user_data; /* user custom data */
} srtp_ctx_t;
OpenPOWER on IntegriCloud