summaryrefslogtreecommitdiff
path: root/libavformat/tls.h
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-05-26 19:25:42 +0200
committerMartin Storsjö <martin@martin.st>2015-05-26 21:48:51 +0300
commit57cde2b180fcec0eaf60aad65f436ab6420546f5 (patch)
tree8f11332b40ddf10dafd3b82a8fd2ac5141466c9f /libavformat/tls.h
parentd8ffb2055f0e0fcb5d025bab72eb19c2a886c125 (diff)
lavf: move TLS-related ifdeffery to library specific files
There is no need to have this mess in network.c. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/tls.h')
-rw-r--r--libavformat/tls.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/tls.h b/libavformat/tls.h
index cf5aadb4d9..22cb6250b4 100644
--- a/libavformat/tls.h
+++ b/libavformat/tls.h
@@ -51,4 +51,10 @@ typedef struct TLSShared {
int ff_tls_open_underlying(TLSShared *c, URLContext *parent, const char *uri, AVDictionary **options);
+void ff_gnutls_init(void);
+void ff_gnutls_deinit(void);
+
+void ff_openssl_init(void);
+void ff_openssl_deinit(void);
+
#endif /* AVFORMAT_TLS_H */