FreeRDP
PubSub.c File Reference
#include <winpr/crt.h>
#include <winpr/collections.h>

Functions

wEventType * PubSub_GetEventTypes (wPubSub *pubSub, size_t *count)
 
void PubSub_Lock (wPubSub *pubSub)
 
void PubSub_Unlock (wPubSub *pubSub)
 
wEventType * PubSub_FindEventType (wPubSub *pubSub, const char *EventName)
 
void PubSub_AddEventTypes (wPubSub *pubSub, wEventType *events, size_t count)
 
int PubSub_Subscribe (wPubSub *pubSub, const char *EventName, pEventHandler EventHandler)
 
int PubSub_Unsubscribe (wPubSub *pubSub, const char *EventName, pEventHandler EventHandler)
 
int PubSub_OnEvent (wPubSub *pubSub, const char *EventName, void *context, wEventArgs *e)
 
wPubSub * PubSub_New (BOOL synchronized)
 
void PubSub_Free (wPubSub *pubSub)
 

Function Documentation

◆ PubSub_AddEventTypes()

void PubSub_AddEventTypes ( wPubSub *  pubSub,
wEventType *  events,
size_t  count 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ PubSub_FindEventType()

wEventType* PubSub_FindEventType ( wPubSub *  pubSub,
const char *  EventName 
)
Here is the caller graph for this function:

◆ PubSub_Free()

void PubSub_Free ( wPubSub *  pubSub)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ PubSub_GetEventTypes()

wEventType* PubSub_GetEventTypes ( wPubSub *  pubSub,
size_t *  count 
)

Properties

◆ PubSub_Lock()

void PubSub_Lock ( wPubSub *  pubSub)

Methods

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PubSub_New()

wPubSub* PubSub_New ( BOOL  synchronized)

Construction, Destruction

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PubSub_OnEvent()

int PubSub_OnEvent ( wPubSub *  pubSub,
const char *  EventName,
void *  context,
wEventArgs *  e 
)
Here is the call graph for this function:

◆ PubSub_Subscribe()

int PubSub_Subscribe ( wPubSub *  pubSub,
const char *  EventName,
pEventHandler  EventHandler 
)
Here is the call graph for this function:

◆ PubSub_Unlock()

void PubSub_Unlock ( wPubSub *  pubSub)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ PubSub_Unsubscribe()

int PubSub_Unsubscribe ( wPubSub *  pubSub,
const char *  EventName,
pEventHandler  EventHandler 
)
Here is the call graph for this function: