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_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.

Referenced by server_callback().

const char* lscp_event_to_text ( lscp_event_t  event  )