Data Structures | |
struct | authStruct |
Defines | |
#define | BRLPACKET_AUTHKEY 'K' |
#define | BRLPACKET_BYE 'B' |
#define | BRLPACKET_GETDRIVERID 'd' |
#define | BRLPACKET_GETDRIVERNAME 'n' |
#define | BRLPACKET_GETDISPLAYSIZE 's' |
#define | BRLPACKET_GETTTY 't' |
#define | BRLPACKET_LEAVETTY 'L' |
#define | BRLPACKET_KEY 'k' |
#define | BRLPACKET_COMMAND 'c' |
#define | BRLPACKET_IGNOREKEYRANGE 'm' |
#define | BRLPACKET_IGNOREKEYSET 'M' |
#define | BRLPACKET_UNIGNOREKEYRANGE 'u' |
#define | BRLPACKET_UNIGNOREKEYSET 'U' |
#define | BRLPACKET_WRITEDOTS 'D' |
#define | BRLPACKET_STATWRITE 'S' |
#define | BRLPACKET_EXTWRITE 'e' |
#define | BRLPACKET_GETRAW '*' |
#define | BRLPACKET_LEAVERAW '#' |
#define | BRLPACKET_PACKET 'p' |
#define | BRLPACKET_ACK 'A' |
#define | BRLPACKET_ERROR 'E' |
#define | BRLRAW_MAGIC (0xdeadbeefL) |
Typedefs | |
typedef uint32_t | brl_type_t |
Functions | |
ssize_t | brlapi_writePacket (int fd, brl_type_t type, const void *buf, size_t size) |
ssize_t | brlapi_readPacket (int fd, brl_type_t *type, void *buf, size_t size) |
|
Acknowledgement |
|
Authentication key |
|
Bye |
|
Braille command |
|
Error in protocol |
|
Extended Write |
|
Dimensions of brl display |
|
Ask which driver is used |
|
Ask which driver is used |
|
Enter in raw mode |
|
Asks for a specified tty |
|
Mask key-range |
|
Mask key-set |
|
Braille key |
|
Leave raw mode |
|
Release the tty |
|
Raw packets |
|
Write Status Cells |
|
Unmask key range |
|
Unmask key set |
|
Write Dots On Braille Display |
|
Magic number to give when sending a BRLPACKET_GETRAW packet |
|
type for packet type. Only unsigned can cross networks, 32bits |
|
Read a packet from BrlAPI server This function is for internal use, but one might use it if one really knows what one is doing... type is where the function will store the packet type; it should always be one of the above defined BRLPACKET_* (or else something very nasty must have happened :/). The syntax is the same as read()'s.
|
|
Send a packet to BrlAPI server This function is for internal use, but one might use it if one really knows what one is doing... type should only be one of the above defined BRLPACKET_*. The syntax is the same as write()'s.
|