event.h File Reference

#include "lscp/socket.h"

Go to the source code of this file.

Typedefs

typedef enum _lscp_event_t lscp_event_t

Enumerations

enum  _lscp_event_t {
  LSCP_EVENT_NONE = 0x0000, LSCP_EVENT_CHANNEL_COUNT = 0x0001, LSCP_EVENT_VOICE_COUNT = 0x0002, LSCP_EVENT_STREAM_COUNT = 0x0004,
  LSCP_EVENT_BUFFER_FILL = 0x0008, LSCP_EVENT_CHANNEL_INFO = 0x0010, LSCP_EVENT_MISCELLANEOUS = 0x1000
}

Functions

const char * lscp_event_to_text (lscp_event_t event)
lscp_event_t lscp_event_from_text (const char *pszText)


Typedef Documentation

typedef enum _lscp_event_t lscp_event_t
 

Subscribable event notification bit-wise flags.


Enumeration Type Documentation

enum _lscp_event_t
 

Subscribable event notification bit-wise flags.

Enumerator:
LSCP_EVENT_NONE 
LSCP_EVENT_CHANNEL_COUNT 
LSCP_EVENT_VOICE_COUNT 
LSCP_EVENT_STREAM_COUNT 
LSCP_EVENT_BUFFER_FILL 
LSCP_EVENT_CHANNEL_INFO 
LSCP_EVENT_MISCELLANEOUS 


Function Documentation

lscp_event_t lscp_event_from_text const char *  pszText  ) 
 

Getting an event from a text string.

Parameters:
pszText Text string to convert to event.
Returns:
The event correponding to the text string.

const char* lscp_event_to_text lscp_event_t  event  ) 
 

Getting the text string representation of a single event.

Parameters:
event Event to convert to text string.
Returns:
The text string representation of the event.


Generated on Wed Aug 24 16:30:54 2005 for liblscp by  doxygen 1.4.4