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

Macros

#define NODE_EVENT_COUNT   (sizeof(Node_Events) / sizeof(wEventType))
 

Functions

static void MouseMotionEventHandler (void *context, const MouseMotionEventArgs *e)
 
static void MouseButtonEventHandler (void *context, const MouseButtonEventArgs *e)
 
int TestPubSub (int argc, char *argv[])
 

Variables

int x
 
int y
 
int flags
 
int button
 
static wEventType Node_Events []
 

Macro Definition Documentation

◆ NODE_EVENT_COUNT

#define NODE_EVENT_COUNT   (sizeof(Node_Events) / sizeof(wEventType))

Function Documentation

◆ MouseButtonEventHandler()

static void MouseButtonEventHandler ( void *  context,
const MouseButtonEventArgs *  e 
)
static
Here is the caller graph for this function:

◆ MouseMotionEventHandler()

static void MouseMotionEventHandler ( void *  context,
const MouseMotionEventArgs *  e 
)
static
Here is the caller graph for this function:

◆ TestPubSub()

int TestPubSub ( int  argc,
char *  argv[] 
)
Here is the call graph for this function:

Variable Documentation

◆ button

int button

◆ flags

int flags

◆ Node_Events

wEventType Node_Events[]
static
Initial value:
= { DEFINE_EVENT_ENTRY(MouseMotion),
DEFINE_EVENT_ENTRY(MouseButton) }
#define DEFINE_EVENT_ENTRY(name)
Definition: collections.h:839

◆ x

int x

◆ y

int y