25#ifndef BRLAPI_INCLUDED
26#define BRLAPI_INCLUDED
38#define BRLAPI_RELEASE "0.8.4"
47#define BRLAPI_REVISION 4
59#define BRLAPI_STDCALL __stdcall
65typedef __int64 uint64_t;
66typedef __int32 uint32_t;
67#define UINT64_C(x) (x ## Ui64)
69typedef signed int ssize_t;
123#define BRLAPI_SOCKETPORTNUM 4101
124#define BRLAPI_SOCKETPORT "4101"
127#define BRLAPI_SOCKETPATH "/var/lib/BrlAPI"
133#define BRLAPI_ETCDIR "/etc"
138#define BRLAPI_AUTHKEYFILE "brlapi.key"
143#define BRLAPI_DEFAUTH "none"
145#define BRLAPI_DEFAUTH_KEYFILE "keyfile:" BRLAPI_ETCDIR "/" BRLAPI_AUTHKEYFILE
148#define BRLAPI_DEFAUTH_POLKIT "+polkit"
150#define BRLAPI_DEFAUTH_POLKIT ""
153#define BRLAPI_DEFAUTH BRLAPI_DEFAUTH_KEYFILE BRLAPI_DEFAUTH_POLKIT
172#define BRLAPI_INVALID_FILE_DESCRIPTOR INVALID_HANDLE_VALUE
174#define BRLAPI_INVALID_FILE_DESCRIPTOR -1
231#define BRLAPI_SETTINGS_INITIALIZER { NULL, NULL }
280#ifndef BRLAPI_NO_SINGLE_SESSION
293#ifndef BRLAPI_NO_SINGLE_SESSION
306#ifndef BRLAPI_NO_SINGLE_SESSION
324#ifndef BRLAPI_NO_SINGLE_SESSION
334#ifndef BRLAPI_NO_SINGLE_SESSION
354#define BRLAPI_MAXNAMELENGTH 31
369#ifndef BRLAPI_NO_SINGLE_SESSION
387#ifndef BRLAPI_NO_SINGLE_SESSION
394#ifndef BRLAPI_NO_SINGLE_SESSION
446#ifndef BRLAPI_NO_SINGLE_SESSION
460#define BRLAPI_TTY_DEFAULT -1
481#ifndef BRLAPI_NO_SINGLE_SESSION
493#ifndef BRLAPI_NO_SINGLE_SESSION
509#ifndef BRLAPI_NO_SINGLE_SESSION
558#ifndef BRLAPI_NO_SINGLE_SESSION
576#ifndef BRLAPI_NO_SINGLE_SESSION
589#ifndef BRLAPI_NO_SINGLE_SESSION
598 unsigned int regionBegin ;
602 const unsigned char *andMask ;
603 const unsigned char *orMask ;
605 const char *charset ;
612#define BRLAPI_DISPLAY_DEFAULT -1
618#define BRLAPI_CURSOR_LEAVE -1
624#define BRLAPI_CURSOR_OFF 0
636#define BRLAPI_WRITEARGUMENTS_INITIALIZER { \
637 .displayNumber = BRLAPI_DISPLAY_DEFAULT, \
644 .cursor = BRLAPI_CURSOR_LEAVE, \
684#ifndef BRLAPI_NO_SINGLE_SESSION
710 unsigned int command ;
711 unsigned int argument ;
729 const char *command ;
730 unsigned int argument ;
747#define BRLAPI_UC_ROW 0x2800UL
818#ifndef BRLAPI_NO_SINGLE_SESSION
844#ifndef BRLAPI_NO_SINGLE_SESSION
870#ifndef BRLAPI_NO_SINGLE_SESSION
887#ifndef BRLAPI_NO_SINGLE_SESSION
900#ifndef BRLAPI_NO_SINGLE_SESSION
902#define brlapi_ignoreAllKeys() brlapi_ignoreKeys(brlapi_rangeType_all, NULL, 0)
905#define brlapi__ignoreAllKeys(handle) brlapi__ignoreKeys(handle, brlapi_rangeType_all, NULL, 0)
918#ifndef BRLAPI_NO_SINGLE_SESSION
920#define brlapi_acceptAllKeys() brlapi_acceptKeys(brlapi_rangeType_all, NULL, 0)
923#define brlapi__acceptAllKeys(handle) brlapi__acceptKeys(handle, brlapi_rangeType_all, NULL, 0)
945#ifndef BRLAPI_NO_SINGLE_SESSION
961#ifndef BRLAPI_NO_SINGLE_SESSION
998#ifndef BRLAPI_NO_SINGLE_SESSION
1006#ifndef BRLAPI_NO_SINGLE_SESSION
1017#ifndef BRLAPI_NO_SINGLE_SESSION
1031#ifndef BRLAPI_NO_SINGLE_SESSION
1041#ifndef BRLAPI_NO_SINGLE_SESSION
1050#ifndef BRLAPI_NO_SINGLE_SESSION
1083#define BRLAPI_PARAMF_LOCAL 0X00
1084#define BRLAPI_PARAMF_GLOBAL 0X01
1085#define BRLAPI_PARAMF_SELF 0X02
1100#ifndef BRLAPI_NO_SINGLE_SESSION
1118#ifndef BRLAPI_NO_SINGLE_SESSION
1136#ifndef BRLAPI_NO_SINGLE_SESSION
1189#ifndef BRLAPI_NO_SINGLE_SESSION
1205#ifndef BRLAPI_NO_SINGLE_SESSION
1222#ifndef BRLAPI_NO_SINGLE_SESSION
1235#ifndef BRLAPI_NO_SINGLE_SESSION
1266#define BRLAPI_ERROR_SUCCESS 0
1268#define BRLAPI_ERROR_NOMEM BRLAPI_ERROR_NOMEM
1270#define BRLAPI_ERROR_TTYBUSY BRLAPI_ERROR_TTYBUSY
1272#define BRLAPI_ERROR_DEVICEBUSY BRLAPI_ERROR_DEVICEBUSY
1274#define BRLAPI_ERROR_UNKNOWN_INSTRUCTION BRLAPI_ERROR_UNKNOWN_INSTRUCTION
1276#define BRLAPI_ERROR_ILLEGAL_INSTRUCTION BRLAPI_ERROR_ILLEGAL_INSTRUCTION
1278#define BRLAPI_ERROR_INVALID_PARAMETER BRLAPI_ERROR_INVALID_PARAMETER
1280#define BRLAPI_ERROR_INVALID_PACKET BRLAPI_ERROR_INVALID_PACKET
1282#define BRLAPI_ERROR_CONNREFUSED BRLAPI_ERROR_CONNREFUSED
1284#define BRLAPI_ERROR_OPNOTSUPP BRLAPI_ERROR_OPNOTSUPP
1286#define BRLAPI_ERROR_GAIERR BRLAPI_ERROR_GAIERR
1288#define BRLAPI_ERROR_LIBCERR BRLAPI_ERROR_LIBCERR
1290#define BRLAPI_ERROR_UNKNOWNTTY BRLAPI_ERROR_UNKNOWNTTY
1292#define BRLAPI_ERROR_PROTOCOL_VERSION BRLAPI_ERROR_PROTOCOL_VERSION
1294#define BRLAPI_ERROR_EOF BRLAPI_ERROR_EOF
1296#define BRLAPI_ERROR_EMPTYKEY BRLAPI_ERROR_EMPTYKEY
1298#define BRLAPI_ERROR_DRIVERERROR BRLAPI_ERROR_DRIVERERROR
1300#define BRLAPI_ERROR_AUTHENTICATION BRLAPI_ERROR_AUTHENTICATION
1302#define BRLAPI_ERROR_READONLY_PARAMETER BRLAPI_ERROR_READONLY_PARAMETER
1362#define brlapi_error (*brlapi_error_location())
1364#define brlapi_errno (brlapi_error.brlerrno)
1366#define brlapi_libcerrno (brlapi_error.libcerrno)
1368#define brlapi_gaierrno (brlapi_error.gaierrno)
1370#define brlapi_errfun (brlapi_error.errfun)
1423#ifndef BRLAPI_NO_SINGLE_SESSION
1438#ifndef BRLAPI_NO_SINGLE_SESSION
1452#ifndef BRLAPI_NO_SINGLE_SESSION
1457#ifndef BRLAPI_NO_SINGLE_SESSION
1466#ifndef BRLAPI_NO_SINGLE_SESSION
1467int BRLAPI_STDCALL brlapi_writeTextWin(
int cursor,
const void *str,
int wide);
1471#ifndef BRLAPI_NO_SINGLE_SESSION
1477#ifndef BRLAPI_NO_SINGLE_SESSION
1478#define brlapi_writeText(cursor, str) brlapi_writeTextWin(cursor, str, 1)
1480#define brlapi__writeText(handle, cursor, str) brlapi__writeTextWin(handle, cursor, str, 1)
1482#ifndef BRLAPI_NO_SINGLE_SESSION
1483#define brlapi_write(s) brlapi_writeWin(s, 1)
1485#define brlapi__write(handle, s) brlapi__writeWin(handle, s, 1)
1489#ifndef BRLAPI_NO_SINGLE_SESSION
1490#define brlapi_writeText(cursor, str) brlapi_writeTextWin(cursor, str, 0)
1492#define brlapi__writeText(handle, cursor, str) brlapi__writeTextWin(handle, cursor, str, 0)
1494#ifndef BRLAPI_NO_SINGLE_SESSION
1495#define brlapi_write(s) brlapi_writeWin(s, 0)
1497#define brlapi__write(handle, s) brlapi__writeWin(handle, s, 0)
1502#ifndef BRLAPI_NO_DEPRECATED
1515#define brlapi_settings_t brlapi_connectionSettings_t
1529#define BRLAPI_WRITESTRUCT_INITIALIZER BRLAPI_WRITEARGUMENTS_INITIALIZER
1531#define brl_keycode_t brlapi_keyCode_t
1532#define brl_type_t brlapi_packetType_t
1534#define BRLCOMMANDS NULL
1535#define BRL_KEYCODE_MAX BRLAPI_KEY_MAX
1537#ifndef BRLAPI_NO_SINGLE_SESSION
1538#define brlapi_initializeConnection brlapi_openConnection
1539#define brlapi_getTty brlapi_enterTtyMode
1540#define brlapi_getTtyPath brlapi_enterTtyModeWithPath
1541#define brlapi_leaveTty brlapi_leaveTtyMode
1542#define brlapi_unignoreKeyRange brlapi_acceptKeyRange
1543#define brlapi_unignoreKeySet brlapi_acceptKeySet
1544#define brlapi_getRaw brlapi_enterRawMode
1545#define brlapi_leaveRaw brlapi_leaveRawMode
1546#define brlapi_suspend brlapi_suspendDriver
1547#define brlapi_resume brlapi_resumeDriver
1550#define BRLERR_SUCCESS BRLAPI_ERROR_SUCCESS
1551#define BRLERR_NOMEM BRLAPI_ERROR_NOMEM
1552#define BRLERR_TTYBUSY BRLAPI_ERROR_TTYBUSY
1553#define BRLERR_DEVICEBUSY BRLAPI_ERROR_DEVICEBUSY
1554#define BRLERR_UNKNOWN_INSTRUCTION BRLAPI_ERROR_UNKNOWN_INSTRUCTION
1555#define BRLERR_ILLEGAL_INSTRUCTION BRLAPI_ERROR_ILLEGAL_INSTRUCTION
1556#define BRLERR_INVALID_PARAMETER BRLAPI_ERROR_INVALID_PARAMETER
1557#define BRLERR_INVALID_PACKET BRLAPI_ERROR_INVALID_PACKET
1558#define BRLERR_CONNREFUSED BRLAPI_ERROR_CONNREFUSED
1559#define BRLERR_OPNOTSUPP BRLAPI_ERROR_OPNOTSUPP
1560#define BRLERR_GAIERR BRLAPI_ERROR_GAIERR
1561#define BRLERR_LIBCERR BRLAPI_ERROR_LIBCERR
1562#define BRLERR_UNKNOWNTTY BRLAPI_ERROR_UNKNOWNTTY
1563#define BRLERR_PROTOCOL_VERSION BRLAPI_ERROR_PROTOCOL_VERSION
1564#define BRLERR_EOF BRLAPI_ERROR_EOF
1565#define BRLERR_EMPTYKEY BRLAPI_ERROR_EMPTYKEY
1566#define BRLERR_DRIVERERROR BRLAPI_ERROR_DRIVERERROR
#define BRLAPI_ERROR_INVALID_PARAMETER
Definition: brlapi.h:1278
#define BRLAPI_ERROR_DEVICEBUSY
Definition: brlapi.h:1272
#define BRLAPI_ERROR_TTYBUSY
Definition: brlapi.h:1270
#define BRLAPI_ERROR_UNKNOWNTTY
Definition: brlapi.h:1290
#define BRLAPI_ERROR_DRIVERERROR
Definition: brlapi.h:1298
#define BRLAPI_ERROR_AUTHENTICATION
Definition: brlapi.h:1300
#define BRLAPI_ERROR_LIBCERR
Definition: brlapi.h:1288
#define BRLAPI_ERROR_GAIERR
Definition: brlapi.h:1286
#define BRLAPI_ERROR_OPNOTSUPP
Definition: brlapi.h:1284
#define BRLAPI_ERROR_ILLEGAL_INSTRUCTION
Definition: brlapi.h:1276
#define BRLAPI_ERROR_EMPTYKEY
Definition: brlapi.h:1296
#define BRLAPI_ERROR_SUCCESS
Definition: brlapi.h:1266
#define BRLAPI_STDCALL
Definition: brlapi.h:61
#define BRLAPI_ERROR_INVALID_PACKET
Definition: brlapi.h:1280
#define BRLAPI_ERROR_READONLY_PARAMETER
Definition: brlapi.h:1302
#define BRLAPI_ERROR_NOMEM
Definition: brlapi.h:1268
#define BRLAPI_ERROR_EOF
Definition: brlapi.h:1294
#define BRLAPI_ERROR_CONNREFUSED
Definition: brlapi.h:1282
#define BRLAPI_ERROR_PROTOCOL_VERSION
Definition: brlapi.h:1292
#define BRLAPI_ERROR_UNKNOWN_INSTRUCTION
Definition: brlapi.h:1274
uint64_t brlapi_param_subparam_t
Definition: brlapi_param.h:108
void BRLAPI_STDCALL brlapi_setClientData(void *data)
void *BRLAPI_STDCALL brlapi__getClientData(brlapi_handle_t *handle)
void *BRLAPI_STDCALL brlapi_getClientData(void)
void BRLAPI_STDCALL brlapi__setClientData(brlapi_handle_t *handle, void *data)
int brlapi_fileDescriptor
Definition: brlapi.h:164
brlapi_fileDescriptor BRLAPI_STDCALL brlapi__getFileDescriptor(brlapi_handle_t *handle)
void BRLAPI_STDCALL brlapi_closeConnection(void)
void BRLAPI_STDCALL brlapi__closeConnection(brlapi_handle_t *handle)
brlapi_fileDescriptor BRLAPI_STDCALL brlapi__openConnection(brlapi_handle_t *handle, const brlapi_connectionSettings_t *desiredSettings, brlapi_connectionSettings_t *actualSettings)
brlapi_fileDescriptor BRLAPI_STDCALL brlapi_openConnection(const brlapi_connectionSettings_t *desiredSettings, brlapi_connectionSettings_t *actualSettings)
brlapi_fileDescriptor BRLAPI_STDCALL brlapi_getFileDescriptor(void)
int BRLAPI_STDCALL brlapi_resumeDriver(void)
int BRLAPI_STDCALL brlapi__leaveRawMode(brlapi_handle_t *handle)
int BRLAPI_STDCALL brlapi__resumeDriver(brlapi_handle_t *handle)
ssize_t BRLAPI_STDCALL brlapi__sendRaw(brlapi_handle_t *handle, const void *buffer, size_t size)
int BRLAPI_STDCALL brlapi__enterRawMode(brlapi_handle_t *handle, const char *driver)
int BRLAPI_STDCALL brlapi__suspendDriver(brlapi_handle_t *handle, const char *driver)
int BRLAPI_STDCALL brlapi_leaveRawMode(void)
ssize_t BRLAPI_STDCALL brlapi_sendRaw(const void *buffer, size_t size)
ssize_t BRLAPI_STDCALL brlapi__recvRaw(brlapi_handle_t *handle, void *buffer, size_t size)
int BRLAPI_STDCALL brlapi_enterRawMode(const char *driver)
int BRLAPI_STDCALL brlapi_suspendDriver(const char *driver)
ssize_t BRLAPI_STDCALL brlapi_recvRaw(void *buffer, size_t size)
void(BRLAPI_STDCALL * brlapi_exceptionHandler_t)(int error, brlapi_packetType_t type, const void *packet, size_t size)
Definition: brlapi.h:1424
int BRLAPI_STDCALL brlapi_strexception(char *buffer, size_t bufferSize, int error, brlapi_packetType_t type, const void *packet, size_t packetSize)
void BRLAPI_STDCALL brlapi__defaultExceptionHandler(brlapi_handle_t *handle, int error, brlapi_packetType_t type, const void *packet, size_t size)
void BRLAPI_STDCALL brlapi_defaultExceptionHandler(int error, brlapi_packetType_t type, const void *packet, size_t size)
size_t BRLAPI_STDCALL brlapi_strerror_r(const brlapi_error_t *error, char *buf, size_t buflen)
#define brlapi_errno
Definition: brlapi.h:1364
const char * brlapi_errlist[]
const char *BRLAPI_STDCALL brlapi_getPacketTypeName(brlapi_packetType_t type)
#define brlapi_errfun
Definition: brlapi.h:1370
#define brlapi_error
Definition: brlapi.h:1362
void BRLAPI_STDCALL brlapi_perror(const char *s)
brlapi_error
Definition: brlapi.h:1264
#define brlapi_gaierrno
Definition: brlapi.h:1368
int BRLAPI_STDCALL brlapi__strexception(brlapi_handle_t *handle, char *buffer, size_t bufferSize, int error, brlapi_packetType_t type, const void *packet, size_t packetSize)
#define brlapi_libcerrno
Definition: brlapi.h:1366
brlapi_exceptionHandler_t BRLAPI_STDCALL brlapi_setExceptionHandler(brlapi_exceptionHandler_t handler)
brlapi__exceptionHandler_t BRLAPI_STDCALL brlapi__setExceptionHandler(brlapi_handle_t *handle, brlapi__exceptionHandler_t handler)
const char *BRLAPI_STDCALL brlapi_strerror(const brlapi_error_t *error)
uint32_t brlapi_packetType_t
Definition: brlapi.h:1402
brlapi_error_t *BRLAPI_STDCALL brlapi_error_location(void)
void(BRLAPI_STDCALL * brlapi__exceptionHandler_t)(brlapi_handle_t *handle, int error, brlapi_packetType_t type, const void *packet, size_t size)
Definition: brlapi.h:1426
struct brlapi_handle_t brlapi_handle_t
Definition: brlapi.h:105
size_t BRLAPI_STDCALL brlapi_getHandleSize(void)
int BRLAPI_STDCALL brlapi__getModelIdentifier(brlapi_handle_t *handle, char *buffer, size_t size)
int BRLAPI_STDCALL brlapi__getDriverName(brlapi_handle_t *handle, char *buffer, size_t size)
int BRLAPI_STDCALL brlapi_getDriverName(char *buffer, size_t size)
int BRLAPI_STDCALL brlapi_getDisplaySize(unsigned int *x, unsigned int *y)
int BRLAPI_STDCALL brlapi__getDisplaySize(brlapi_handle_t *handle, unsigned int *x, unsigned int *y)
int BRLAPI_STDCALL brlapi_getModelIdentifier(char *buffer, size_t size)
uint64_t brlapi_keyCode_t
Definition: brlapi_keycodes.h:109
#define BRLAPI_KEY_FLAGS_SHIFT
Definition: brlapi_keycodes.h:130
brlapi_rangeType_t
Definition: brlapi.h:850
int BRLAPI_STDCALL brlapi__acceptKeys(brlapi_handle_t *handle, brlapi_rangeType_t type, const brlapi_keyCode_t keys[], unsigned int count)
int BRLAPI_STDCALL brlapi_acceptKeys(brlapi_rangeType_t type, const brlapi_keyCode_t keys[], unsigned int count)
#define brlapi__ignoreAllKeys(handle)
Definition: brlapi.h:905
int BRLAPI_STDCALL brlapi_describeKeyCode(brlapi_keyCode_t code, brlapi_describedKeyCode_t *description)
int BRLAPI_STDCALL brlapi_readKey(int wait, brlapi_keyCode_t *code)
#define brlapi__acceptAllKeys(handle)
Definition: brlapi.h:923
int BRLAPI_STDCALL brlapi__ignoreKeyRanges(brlapi_handle_t *handle, const brlapi_range_t ranges[], unsigned int count)
int BRLAPI_STDCALL brlapi_ignoreKeys(brlapi_rangeType_t type, const brlapi_keyCode_t keys[], unsigned int count)
int BRLAPI_STDCALL brlapi__acceptKeyRanges(brlapi_handle_t *handle, const brlapi_range_t ranges[], unsigned int count)
int BRLAPI_STDCALL brlapi__readKey(brlapi_handle_t *handle, int wait, brlapi_keyCode_t *code)
int BRLAPI_STDCALL brlapi__ignoreKeys(brlapi_handle_t *handle, brlapi_rangeType_t type, const brlapi_keyCode_t keys[], unsigned int count)
int BRLAPI_STDCALL brlapi_acceptKeyRanges(const brlapi_range_t ranges[], unsigned int count)
#define brlapi_ignoreAllKeys()
Definition: brlapi.h:902
int BRLAPI_STDCALL brlapi_readKeyWithTimeout(int timeout_ms, brlapi_keyCode_t *code)
int BRLAPI_STDCALL brlapi__readKeyWithTimeout(brlapi_handle_t *handle, int timeout_ms, brlapi_keyCode_t *code)
#define brlapi_acceptAllKeys()
Definition: brlapi.h:920
int BRLAPI_STDCALL brlapi_ignoreKeyRanges(const brlapi_range_t ranges[], unsigned int count)
int BRLAPI_STDCALL brlapi_expandKeyCode(brlapi_keyCode_t code, brlapi_expandedKeyCode_t *expansion)
@ brlapi_rangeType_all
Definition: brlapi.h:851
@ brlapi_rangeType_key
Definition: brlapi.h:854
@ brlapi_rangeType_command
Definition: brlapi.h:853
@ brlapi_rangeType_type
Definition: brlapi.h:852
@ brlapi_rangeType_code
Definition: brlapi.h:855
int BRLAPI_STDCALL brlapi__pause(brlapi_handle_t *handle, int timeout_ms)
int BRLAPI_STDCALL brlapi_pause(int timeout_ms)
int BRLAPI_STDCALL brlapi_sync(void)
int BRLAPI_STDCALL brlapi__sync(brlapi_handle_t *handle)
void * brlapi_paramCallbackDescriptor_t
Definition: brlapi.h:1164
brlapi_paramCallbackDescriptor_t BRLAPI_STDCALL brlapi_watchParameter(brlapi_param_t parameter, brlapi_param_subparam_t subparam, brlapi_param_flags_t flags, brlapi_paramCallback_t func, void *priv, void *data, size_t len)
void *BRLAPI_STDCALL brlapi_getParameterAlloc(brlapi_param_t parameter, brlapi_param_subparam_t subparam, brlapi_param_flags_t flags, size_t *len)
int BRLAPI_STDCALL brlapi_setParameter(brlapi_param_t parameter, brlapi_param_subparam_t subparam, brlapi_param_flags_t flags, const void *data, size_t len)
uint32_t brlapi_param_flags_t
Definition: brlapi.h:1082
brlapi_param_t
Definition: brlapi_param.h:36
ssize_t BRLAPI_STDCALL brlapi_getParameter(brlapi_param_t parameter, brlapi_param_subparam_t subparam, brlapi_param_flags_t flags, void *data, size_t len)
brlapi_paramCallbackDescriptor_t BRLAPI_STDCALL brlapi__watchParameter(brlapi_handle_t *handle, brlapi_param_t parameter, brlapi_param_subparam_t subparam, brlapi_param_flags_t flags, brlapi_paramCallback_t func, void *priv, void *data, size_t len)
int BRLAPI_STDCALL brlapi__setParameter(brlapi_handle_t *handle, brlapi_param_t parameter, brlapi_param_subparam_t subparam, brlapi_param_flags_t flags, const void *data, size_t len)
void *BRLAPI_STDCALL brlapi__getParameterAlloc(brlapi_handle_t *handle, brlapi_param_t parameter, brlapi_param_subparam_t subparam, brlapi_param_flags_t flags, size_t *len)
int BRLAPI_STDCALL brlapi_unwatchParameter(brlapi_paramCallbackDescriptor_t descriptor)
void(* brlapi_paramCallback_t)(brlapi_param_t parameter, brlapi_param_subparam_t subparam, brlapi_param_flags_t flags, void *priv, const void *data, size_t len)
Definition: brlapi.h:1157
int BRLAPI_STDCALL brlapi__unwatchParameter(brlapi_handle_t *handle, brlapi_paramCallbackDescriptor_t descriptor)
ssize_t BRLAPI_STDCALL brlapi__getParameter(brlapi_handle_t *handle, brlapi_param_t parameter, brlapi_param_subparam_t subparam, brlapi_param_flags_t flags, void *data, size_t len)
int BRLAPI_STDCALL brlapi_enterTtyModeWithPath(const int *ttys, int count, const char *driver)
int BRLAPI_STDCALL brlapi_setFocus(int tty)
int BRLAPI_STDCALL brlapi_leaveTtyMode(void)
int BRLAPI_STDCALL brlapi_enterTtyMode(int tty, const char *driver)
int BRLAPI_STDCALL brlapi__enterTtyMode(brlapi_handle_t *handle, int tty, const char *driver)
int BRLAPI_STDCALL brlapi__leaveTtyMode(brlapi_handle_t *handle)
int BRLAPI_STDCALL brlapi__setFocus(brlapi_handle_t *handle, int tty)
int BRLAPI_STDCALL brlapi__enterTtyModeWithPath(brlapi_handle_t *handle, const int *ttys, int count, const char *driver)
void brlapi_getLibraryVersion(int *major, int *minor, int *revision)
int BRLAPI_STDCALL brlapi__writeWText(brlapi_handle_t *handle, int cursor, const wchar_t *text)
int BRLAPI_STDCALL brlapi_write(const brlapi_writeArguments_t *arguments)
int BRLAPI_STDCALL brlapi__writeText(brlapi_handle_t *handle, int cursor, const char *text)
int BRLAPI_STDCALL brlapi_writeWText(int cursor, const wchar_t *text)
int BRLAPI_STDCALL brlapi__writeDots(brlapi_handle_t *handle, const unsigned char *dots)
int BRLAPI_STDCALL brlapi_writeText(int cursor, const char *text)
int BRLAPI_STDCALL brlapi_writeDots(const unsigned char *dots)
int BRLAPI_STDCALL brlapi__write(brlapi_handle_t *handle, const brlapi_writeArguments_t *arguments)
Settings structure for BrlAPI connection.
Definition: brlapi.h:207
const char * host
Definition: brlapi.h:225
const char * auth
Definition: brlapi.h:215
Definition: brlapi.h:1325
int gaierrno
Definition: brlapi.h:1328
enum brlapi_error brlerrno
Definition: brlapi.h:1326
const char * errfun
Definition: brlapi.h:1329
int libcerrno
Definition: brlapi.h:1327
brlapi_keyCode_t last
Definition: brlapi.h:931
brlapi_keyCode_t first
Definition: brlapi.h:930
Definition: brlapi.h:1518
int displayNumber
Definition: brlapi.h:1519
int cursor
Definition: brlapi.h:1526
unsigned int regionBegin
Definition: brlapi.h:1520
unsigned int regionSize
Definition: brlapi.h:1521
const char * text
Definition: brlapi.h:1522
const unsigned char * attrOr
Definition: brlapi.h:1525
const char * charset
Definition: brlapi.h:1527
const unsigned char * attrAnd
Definition: brlapi.h:1524
int textSize
Definition: brlapi.h:1523