liblscp  0.6.1
Functions
event.c File Reference
#include "lscp/event.h"

Functions

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

Function Documentation

◆ lscp_event_from_text()

lscp_event_t lscp_event_from_text ( const char *  pszText)

Getting an event from a text string.

Parameters
pszTextText string to convert to event.
Returns
The event correponding to the text string.

Referenced by server_callback().

◆ lscp_event_to_text()

const char* lscp_event_to_text ( lscp_event_t  event)

Getting the text string representation of a single event.

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

Referenced by client_callback().