|
And attributes |
|
Or attributes |
|
Charset |
|
Cursor position |
|
Flags for writing Display number |
|
Region parameter |
|
Contains some text |
|
Acknowledgement |
|
Authentication key |
|
non-fatal error |
|
Exception |
|
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 |
|
Set current tty focus |
|
Unmask key range |
|
Unmask key set |
|
Write |
|
Magic number to give when sending a BRLPACKET_GETRAW packet |
|
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.
|
|
Read the content of a packet from BrlAPI server This function is for internal use, but one might use it if one really knows what one is doing... packetSize is the size announced by brlapi_readPacketHeader() bufSize is the size of buf
|
|
Read the header (type+size) of 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 :/).
|
|
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.
|
|
Mutex for protecting concurrent fd access In order to regulate concurrent access to the library's file descriptor and requests to / answers from BrlAPI server, every function of the library locks this mutex, namely
If both these functions and brlapi_writePacket() or brlapi_readPacket() are used in a multithreaded application, this mutex must be locked before calling brlapi_writePacket() or brlapi_readPacket(), and unlocked afterwards. |