Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
yubihsm_winhttp.c File Reference
#include <windows.h>
#include <winhttp.h>
#include <winsock.h>
#include <wchar.h>
#include <stdbool.h>
#include <stdint.h>
#include "yubihsm.h"
#include "internal.h"
#include "debug_lib.h"
Include dependency graph for yubihsm_winhttp.c:

Go to the source code of this file.

Classes

struct  urlComponents
 
struct  context
 
struct  state
 

Macros

#define MAX_STR_LEN   128
 

Enumerations

enum  stage {
  NO_INIT , REQUEST_SENT , RESPONSE_WAITING , RESPONSE_RECEIVED ,
  DATA_AVAILABLE , DATA_WAITING , READ_COMPLETE , REQUEST_SUCCESS ,
  REQUEST_ERROR , CLOSE_WAITING , REQUEST_CLOSED , REQUEST_DONE
}
 

Functions

struct backend_functions * backend_functions (void)
 

Variables

uint8_t YH_INTERNAL _yh_verbosity
 
FILE YH_INTERNAL_yh_output
 

Macro Definition Documentation

◆ MAX_STR_LEN

#define MAX_STR_LEN   128

Definition at line 28 of file yubihsm_winhttp.c.

Enumeration Type Documentation

◆ stage

enum stage
Enumerator
NO_INIT 
REQUEST_SENT 
RESPONSE_WAITING 
RESPONSE_RECEIVED 
DATA_AVAILABLE 
DATA_WAITING 
READ_COMPLETE 
REQUEST_SUCCESS 
REQUEST_ERROR 
CLOSE_WAITING 
REQUEST_CLOSED 
REQUEST_DONE 

Definition at line 37 of file yubihsm_winhttp.c.

37 {
38 NO_INIT,
50};
@ DATA_AVAILABLE
@ DATA_WAITING
@ REQUEST_CLOSED
@ REQUEST_DONE
@ RESPONSE_RECEIVED
@ REQUEST_ERROR
@ RESPONSE_WAITING
@ NO_INIT
@ READ_COMPLETE
@ CLOSE_WAITING
@ REQUEST_SENT
@ REQUEST_SUCCESS

Function Documentation

◆ backend_functions()

struct backend_functions * backend_functions ( void )

Definition at line 413 of file yubihsm_winhttp.c.

413 {
414#endif
415 return &f;
416}

Variable Documentation

◆ _yh_output

FILE YH_INTERNAL* _yh_output

Definition at line 67 of file yubihsm_winhttp.c.

◆ _yh_verbosity

uint8_t YH_INTERNAL _yh_verbosity

Definition at line 66 of file yubihsm_winhttp.c.