football
socket abstraction layer
Data Fields
fb_service_t Struct Reference

Football service state structure. More...

#include <fb_service.h>

Data Fields

FB_SOCKETTYPE type
 Magic number so we know this is a service in fb_fprintf.
 
FB_SOCKETSTATE state
 Is the service open or closing?
 
FB_SERVICE_OPTIONS options
 Behavior options.
 
int socket [FB_SOCKET_COUNT]
 Socket file descriptors.
 
FB_SOCKETADDR address [FB_SOCKET_COUNT]
 Socket address information.
 
size_t connection_count
 Number of active connections in the collection.
 
size_t connections_size
 Total number of slots in the collection.
 
struct fb_connection_t ** connections
 Connections to services.
 
struct fb_service_tnext_reap
 For reap queue.
 
bool shutdown_event_done
 Return shutdown event once.
 
struct fb_service_tnext_child
 Children or next child.
 
void * relatedObject
 C++ object for this service.
 

Detailed Description

Football service state structure.


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