summaryrefslogtreecommitdiffstats
path: root/vendor/openssl-sys/src/handwritten/srtp.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/openssl-sys/src/handwritten/srtp.rs')
-rw-r--r--vendor/openssl-sys/src/handwritten/srtp.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/openssl-sys/src/handwritten/srtp.rs b/vendor/openssl-sys/src/handwritten/srtp.rs
new file mode 100644
index 0000000..d4c7af8
--- /dev/null
+++ b/vendor/openssl-sys/src/handwritten/srtp.rs
@@ -0,0 +1,10 @@
+use super::super::*;
+use libc::*;
+
+extern "C" {
+ pub fn SSL_CTX_set_tlsext_use_srtp(ctx: *mut SSL_CTX, profiles: *const c_char) -> c_int;
+ pub fn SSL_set_tlsext_use_srtp(ssl: *mut SSL, profiles: *const c_char) -> c_int;
+
+ pub fn SSL_get_srtp_profiles(ssl: *mut SSL) -> *mut stack_st_SRTP_PROTECTION_PROFILE;
+ pub fn SSL_get_selected_srtp_profile(ssl: *mut SSL) -> *mut SRTP_PROTECTION_PROFILE;
+}