#include <errno.h>
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>
#include "avformat.h"
#include "internal.h"
#include "network.h"
#include "os_support.h"
#include "url.h"
#include "tls.h"
#include "libavcodec/internal.h"
#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
Go to the source code of this file.
|  | 
| void | ff_gnutls_init (void) | 
|  | 
| void | ff_gnutls_deinit (void) | 
|  | 
| static int | print_tls_error (URLContext *h, int ret) | 
|  | 
| static int | tls_close (URLContext *h) | 
|  | 
| static ssize_t | gnutls_url_pull (gnutls_transport_ptr_t transport, void *buf, size_t len) | 
|  | 
| static ssize_t | gnutls_url_push (gnutls_transport_ptr_t transport, const void *buf, size_t len) | 
|  | 
| static int | tls_open (URLContext *h, const char *uri, int flags, AVDictionary **options) | 
|  | 
| static int | tls_read (URLContext *h, uint8_t *buf, int size) | 
|  | 
| static int | tls_write (URLContext *h, const uint8_t *buf, int size) | 
|  | 
| static int | tls_get_file_handle (URLContext *h) | 
|  | 
◆ GNUTLS_VERSION_NUMBER
      
        
          | #define GNUTLS_VERSION_NUMBER   LIBGNUTLS_VERSION_NUMBER | 
      
 
 
◆ ff_gnutls_init()
◆ ff_gnutls_deinit()
◆ print_tls_error()
◆ tls_close()
◆ gnutls_url_pull()
  
  | 
        
          | static ssize_t gnutls_url_pull | ( | gnutls_transport_ptr_t | transport, |  
          |  |  | void * | buf, |  
          |  |  | size_t | len |  
          |  | ) |  |  |  | static | 
 
 
◆ gnutls_url_push()
  
  | 
        
          | static ssize_t gnutls_url_push | ( | gnutls_transport_ptr_t | transport, |  
          |  |  | const void * | buf, |  
          |  |  | size_t | len |  
          |  | ) |  |  |  | static | 
 
 
◆ tls_open()
◆ tls_read()
◆ tls_write()
◆ tls_get_file_handle()
◆ options
Initial value:= {
}
#define TLS_COMMON_OPTIONS(pstruct, options_field)
Definition at line 266 of file tls_gnutls.c.
 
 
◆ tls_class
Initial value:= {
    .class_name = "tls",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name. 
static const AVOption options[]
Definition at line 271 of file tls_gnutls.c.
 
 
◆ ff_tls_protocol
Initial value:= {
    .name           = "tls",
}
#define URL_PROTOCOL_FLAG_NETWORK
static const AVClass tls_class
static int tls_read(URLContext *h, uint8_t *buf, int size)
static int tls_close(URLContext *h)
static int tls_open(URLContext *h, const char *uri, int flags, AVDictionary **options)
static int tls_write(URLContext *h, const uint8_t *buf, int size)
static int tls_get_file_handle(URLContext *h)
Definition at line 278 of file tls_gnutls.c.