|
football
socket abstraction layer
|
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_t * | next_reap |
| For reap queue. | |
| bool | shutdown_event_done |
| Return shutdown event once. | |
| struct fb_service_t * | next_child |
| Children or next child. | |
| void * | relatedObject |
| C++ object for this service. | |
Football service state structure.