|
Data Structures |
struct | header_t |
struct | authStruct |
struct | errorPacket_t |
struct | getRawPacket_t |
struct | writeStruct |
Defines |
#define | BRLPACKET_AUTHKEY 'K' |
#define | BRLPACKET_GETDRIVERID 'd' |
#define | BRLPACKET_GETDRIVERNAME 'n' |
#define | BRLPACKET_GETDISPLAYSIZE 's' |
#define | BRLPACKET_GETTTY 't' |
#define | BRLPACKET_SETFOCUS 'F' |
#define | BRLPACKET_LEAVETTY 'L' |
#define | BRLPACKET_KEY 'k' |
#define | BRLPACKET_IGNOREKEYRANGE 'm' |
#define | BRLPACKET_IGNOREKEYSET 'M' |
#define | BRLPACKET_UNIGNOREKEYRANGE 'u' |
#define | BRLPACKET_UNIGNOREKEYSET 'U' |
#define | BRLPACKET_WRITE 'w' |
#define | BRLPACKET_GETRAW '*' |
#define | BRLPACKET_LEAVERAW '#' |
#define | BRLPACKET_PACKET 'p' |
#define | BRLPACKET_ACK 'A' |
#define | BRLPACKET_ERROR 'e' |
#define | BRLPACKET_EXCEPTION 'E' |
#define | BRLRAW_MAGIC (0xdeadbeefL) |
#define | BRLAPI_WF_DISPLAYNUMBER 0X01 |
#define | BRLAPI_WF_REGION 0X02 |
#define | BRLAPI_WF_TEXT 0X04 |
#define | BRLAPI_WF_ATTR_AND 0X08 |
#define | BRLAPI_WF_ATTR_OR 0X10 |
#define | BRLAPI_WF_CURSOR 0X20 |
#define | BRLAPI_WF_CHARSET 0X40 |
Functions |
ssize_t | brlapi_writePacket (int fd, brl_type_t type, const void *buf, size_t size) |
ssize_t | brlapi_readPacketHeader (int fd, brl_type_t *packetType) |
ssize_t | brlapi_readPacketContent (int fd, size_t packetSize, void *buf, size_t bufSize) |
ssize_t | brlapi_readPacket (int fd, brl_type_t *type, void *buf, size_t size) |
Variables |
pthread_mutex_t | brlapi_fd_mutex |