Distributed Publish & Subscribe for IoT
event.h File Reference

Signal and wait on application-created events. More...

Go to the source code of this file.

Typedefs

typedef struct _DPS_Event DPS_Event
 Opaque type for an event.
 

Functions

DPS_EventDPS_CreateEvent (void)
 Create and initialize an event. More...
 
void DPS_DestroyEvent (DPS_Event *event)
 Destroy an event and free resources. More...
 
void * DPS_GetEventData (const DPS_Event *event)
 Get the event application data. More...
 
void DPS_SetEventData (DPS_Event *event, void *data)
 Set the event application data. More...
 
void DPS_SignalEvent (DPS_Event *event, DPS_Status status)
 Signal an event. More...
 
DPS_Status DPS_TimedWaitForEvent (DPS_Event *event, uint16_t timeout)
 Wait for an event to be signalled with a timeout. More...
 
DPS_Status DPS_WaitForEvent (DPS_Event *event)
 Wait for an event to be signalled. More...
 

Detailed Description

Signal and wait on application-created events.