QSC Post Quantum Cryptographic Library 1.0.0.6c (A6)
A post quantum secure library written in Ansi C
 
Loading...
Searching...
No Matches
qsc_socket_receive_async_state Struct Reference

The socket async receive state structure. The structure contains pointers to the originating socket, message and error call-backs, and the message buffer. More...

#include <socketbase.h>

Data Fields

void(* callback )(qsc_socket *sock, const uint8_t *message, size_t *msglen)
 
void(* error )(const qsc_socket *sock, qsc_socket_exceptions exception)
 
qsc_socketsource
 
uint8_t buffer [QSC_SOCKET_RECEIVE_BUFFER_SIZE]
 

Detailed Description

The socket async receive state structure. The structure contains pointers to the originating socket, message and error call-backs, and the message buffer.

Field Documentation

◆ buffer

A pointer to the message buffer

◆ callback

void(* callback) (qsc_socket *sock, const uint8_t *message, size_t *msglen)

A pointer to a callback function

◆ error

void(* error) (const qsc_socket *sock, qsc_socket_exceptions exception)

A pointer to an error function

◆ source

qsc_socket* source

A pointer to the originating socket


The documentation for this struct was generated from the following file: