PdcommSecs1Io
Struct
Caller-provided I/O callback table.
typedef struct PdcommSecs1Io { ... } PdcommSecs1Iopdcomm_secs1_create() copies the table and borrows context. The context object and the callback code must outlive the endpoint. The endpoint never opens or closes an operating system handle.
Members
context
Field
Opaque pointer passed to both callbacks; must not be NULL.
void *contextread
Field
Nonblocking read callback; must not be NULL.
PdcommSecs1Read readstruct_size
Field
Size of this structure in bytes; set to sizeof(PdcommSecs1Io) or larger.
size_t struct_sizewrite
Field
Nonblocking write callback; must not be NULL.
PdcommSecs1Write write