Electroneum
comm_base Struct Reference

#include <netevent.h>

Public Attributes

struct internal_base * eb
 
void(* stop_accept )(void *)
 
void(* start_accept )(void *)
 
void * cb_arg
 

Detailed Description

A communication point dispatcher. Thread specific.

Definition at line 96 of file netevent.h.

Member Data Documentation

◆ cb_arg

void* comm_base::cb_arg

user argument for stop_accept and start_accept functions

Definition at line 106 of file netevent.h.

◆ eb

struct internal_base* comm_base::eb

behind the scenes structure. with say libevent info. alloced

Definition at line 98 of file netevent.h.

◆ start_accept

void(* comm_base::start_accept) (void *)

callback to start listening on accept sockets, performed after stop_accept() then a timeout has passed.

Definition at line 104 of file netevent.h.

◆ stop_accept

void(* comm_base::stop_accept) (void *)

callback to stop listening on accept sockets, performed when accept() will not function properly

Definition at line 101 of file netevent.h.


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