Query: gii_cmd_event
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
gii_cmd_event(3) GGI gii_cmd_event(3)NAMEgii_cmd_event, gii_cmd_nodata_event - LibGII commands and information eventsSYNOPSIS#include <ggi/events.h> typedef struct { COMMON_DATA; uint32_t code; } gii_cmd_nodata_event; #define GII_CMD_DATA_MAX (248-sizeof(gii_cmd_nodata_event)) typedef struct gii_cmd_event { COMMON_DATA; uint32_t code; uint8_t data[GII_CMD_DATA_MAX]; } gii_cmd_event;DESCRIPTIONThese are used internally either to the application or the kernel. The same event is used for both Command and Information events.GENERATED EVENTSgii_cmd_event is the basic structure for evCommand and evInformation events. It may need to be casted to some other structure (depending on code) to access the data.STRUCTURE MEMBERScode The command or request code. data Provides raw access to the device and/or command specific data. The recipient must not store references to the data. If the data information is needed afterwards, copy it!DEVICE INFORMATIONOne use of evCommand is to convey some capabilities of a GII device, via the GII_CMDCODE_GETDEVINFO command code.SEE ALSOgii_event(3), gii_cmddata_getdevinfo(3) libgii-1.0.x 2006-12-30 gii_cmd_event(3)
Related Man Pages |
---|
mhub(1) - debian |
giieventsqueued(3) - debian |
giiquerydeviceinfobynumber(3) - debian |
gii_cmd_event(3) - debian |
gii_event(3) - debian |
Similar Topics in the Unix Linux Community |
---|
On events about events |