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

Events are returned in this structure. More...

#include <fb_public.h>

Collaboration diagram for fb_event_t:
Collaboration graph
[legend]

Public Attributes

int magic
 Private. More...
 
FB_EVENTTYPE type
 
int socket
 The socket creating an event, for user thingies only. More...
 
void * context
 Provided for connections, or if supplied for user thingies. More...
 
struct fb_connection_tconnection
 For connect, close, and input. More...
 
struct fb_service_tservice
 All connection events and service closed. More...
 
char * command
 A command received on a connection, raw form. More...
 
int argc
 The number of terms in argv. More...
 
char ** argv
 Lexically split command received on a connection. More...
 
int param_count
 Number of entries in param_names & param_values. More...
 
char ** param_names
 Parameter names (for HTTP query parameters) More...
 
char ** param_values
 Values corresponding to param_names positions (for HTTP query parameters). More...
 

Detailed Description

Events are returned in this structure.

Member Data Documentation

◆ argc

int fb_event_t::argc

The number of terms in argv.

◆ argv

char** fb_event_t::argv

Lexically split command received on a connection.

◆ command

char* fb_event_t::command

A command received on a connection, raw form.

◆ connection

struct fb_connection_t* fb_event_t::connection

For connect, close, and input.

◆ context

void* fb_event_t::context

Provided for connections, or if supplied for user thingies.

◆ magic

int fb_event_t::magic

Private.

◆ param_count

int fb_event_t::param_count

Number of entries in param_names & param_values.

◆ param_names

char** fb_event_t::param_names

Parameter names (for HTTP query parameters)

◆ param_values

char** fb_event_t::param_values

Values corresponding to param_names positions (for HTTP query parameters).

◆ service

struct fb_service_t* fb_event_t::service

All connection events and service closed.

◆ socket

int fb_event_t::socket

The socket creating an event, for user thingies only.

◆ type

FB_EVENTTYPE fb_event_t::type

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