#include "avformat.h"
#include "internal.h"
#include "network.h"
#include "os_support.h"
#include "url.h"
#include "tls.h"
#include <windows.h>
#include <security.h>
#include <schnlsp.h>
Go to the source code of this file.
|  | 
| static void | init_sec_buffer (SecBuffer *buffer, unsigned long type, void *data, unsigned long size) | 
|  | 
| static void | init_sec_buffer_desc (SecBufferDesc *desc, SecBuffer *buffers, unsigned long buffer_count) | 
|  | 
| static int | tls_shutdown_client (URLContext *h) | 
|  | 
| static int | tls_close (URLContext *h) | 
|  | 
| static int | tls_client_handshake_loop (URLContext *h, int initial) | 
|  | 
| static int | tls_client_handshake (URLContext *h) | 
|  | 
| static int | tls_open (URLContext *h, const char *uri, int flags, AVDictionary **options) | 
|  | 
| static int | tls_read (URLContext *h, uint8_t *buf, int len) | 
|  | 
| static int | tls_write (URLContext *h, const uint8_t *buf, int len) | 
|  | 
Based on the CURL SChannel module. 
Definition at line 30 of file tls_schannel.c.
 
 
      
        
          | #define SCHANNEL_INITIAL_BUFFER_SIZE   4096 | 
      
 
 
      
        
          | #define SCHANNEL_FREE_BUFFER_SIZE   1024 | 
      
 
 
      
        
          | #define SECBUFFER_ALERT   17 | 
      
 
 
  
  | 
        
          | static void init_sec_buffer | ( | SecBuffer * | buffer, |  
          |  |  | unsigned long | type, |  
          |  |  | void * | data, |  
          |  |  | unsigned long | size |  
          |  | ) |  |  |  | static | 
 
 
  
  | 
        
          | static void init_sec_buffer_desc | ( | SecBufferDesc * | desc, |  
          |  |  | SecBuffer * | buffers, |  
          |  |  | unsigned long | buffer_count |  
          |  | ) |  |  |  | static | 
 
 
  
  | 
        
          | static int tls_client_handshake_loop | ( | URLContext * | h, |  
          |  |  | int | initial |  
          |  | ) |  |  |  | static | 
 
 
Initial value:= {
}
#define TLS_COMMON_OPTIONS(pstruct, options_field)
Definition at line 580 of file tls_schannel.c.
 
 
Initial value:= {
    .class_name = "tls",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
Definition at line 585 of file tls_schannel.c.
 
 
Initial value:= {
    .name           = "tls",
}
#define URL_PROTOCOL_FLAG_NETWORK
static const AVClass tls_class
static int tls_read(URLContext *h, uint8_t *buf, int len)
static int tls_write(URLContext *h, const uint8_t *buf, int len)
static int tls_open(URLContext *h, const char *uri, int flags, AVDictionary **options)
static int tls_close(URLContext *h)
Definition at line 592 of file tls_schannel.c.