#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) | 
|   | 
| static int  | tls_get_file_handle (URLContext *h) | 
|   | 
| static int  | tls_get_short_seek (URLContext *h) | 
|   | 
◆ SECURITY_WIN32
Based on the CURL SChannel module. 
Definition at line 30 of file tls_schannel.c.
 
 
◆ SCHANNEL_INITIAL_BUFFER_SIZE
      
        
          | #define SCHANNEL_INITIAL_BUFFER_SIZE   4096 | 
        
      
 
 
◆ SCHANNEL_FREE_BUFFER_SIZE
      
        
          | #define SCHANNEL_FREE_BUFFER_SIZE   1024 | 
        
      
 
 
◆ SECBUFFER_ALERT
      
        
          | #define SECBUFFER_ALERT   17 | 
        
      
 
 
◆ init_sec_buffer()
  
  
      
        
          | static void init_sec_buffer  | 
          ( | 
          SecBuffer *  | 
          buffer,  | 
         
        
           | 
           | 
          unsigned long  | 
          type,  | 
         
        
           | 
           | 
          void *  | 
          data,  | 
         
        
           | 
           | 
          unsigned long  | 
          size  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ init_sec_buffer_desc()
  
  
      
        
          | static void init_sec_buffer_desc  | 
          ( | 
          SecBufferDesc *  | 
          desc,  | 
         
        
           | 
           | 
          SecBuffer *  | 
          buffers,  | 
         
        
           | 
           | 
          unsigned long  | 
          buffer_count  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ tls_shutdown_client()
◆ tls_close()
◆ tls_client_handshake_loop()
◆ tls_client_handshake()
◆ tls_open()
◆ tls_read()
◆ tls_write()
◆ tls_get_file_handle()
◆ tls_get_short_seek()
◆ options
◆ tls_class
Initial value:= {
    .class_name = "tls",
}
 
Definition at line 603 of file tls_schannel.c.
 
 
◆ ff_tls_protocol