pianod2
multisource multiuser scriptable networked music player
Public Attributes | List of all members
fb_service_t Struct Reference

Football service state structure. More...

#include <fb_service.h>

Collaboration diagram for fb_service_t:
Collaboration graph
[legend]

Public Attributes

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

Detailed Description

Football service state structure.

Member Data Documentation

◆ address

FB_SOCKETADDR fb_service_t::address[FB_SOCKET_COUNT]

Socket address information.

◆ connection_count

size_t fb_service_t::connection_count

Number of active connections in the collection.

◆ connections

struct fb_connection_t** fb_service_t::connections

Connections to services.

◆ connections_size

size_t fb_service_t::connections_size

Total number of slots in the collection.

◆ next_child

struct fb_service_t* fb_service_t::next_child

Children or next child.

◆ next_reap

struct fb_service_t* fb_service_t::next_reap

For reap queue.

◆ options

FB_SERVICE_OPTIONS fb_service_t::options

Behavior options.

◆ relatedObject

void* fb_service_t::relatedObject

C++ object for this service.

◆ shutdown_event_done

bool fb_service_t::shutdown_event_done

Return shutdown event once.

◆ socket

int fb_service_t::socket[FB_SOCKET_COUNT]

Socket file descriptors.

◆ state

FB_SOCKETSTATE fb_service_t::state

Is the service open or closing?

◆ type

FB_SOCKETTYPE fb_service_t::type

Magic number so we know this is a service in fb_fprintf.


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