Lely core libraries  2.2.5
io_svc_vtbl Struct Reference

The virtual table of an I/O service. More...

#include <ctx.h>

Data Fields

int(* notify_fork )(struct io_svc *svc, enum io_fork_event e)
 A pointer to the function to be called by io_ctx_notify_fork() (can be NULL). More...
 
void(* shutdown )(struct io_svc *svc)
 A pointer to the function to be called by io_ctx_shutdown() (can be NULL).
 

Detailed Description

The virtual table of an I/O service.

Definition at line 67 of file ctx.h.

Field Documentation

◆ notify_fork

int(* io_svc_vtbl::notify_fork) (struct io_svc *svc, enum io_fork_event e)

A pointer to the function to be called by io_ctx_notify_fork() (can be NULL).

Returns
0 on success, or -1 on error.

Definition at line 74 of file ctx.h.


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