25 #ifndef BRLAPI_INCLUDED 
   26 #define BRLAPI_INCLUDED 
   38 #define BRLAPI_RELEASE "0.8.5" 
   41 #define BRLAPI_MAJOR 0 
   44 #define BRLAPI_MINOR 8 
   47 #define BRLAPI_REVISION 5 
   55 #include <sys/types.h> 
   59 #define BRLAPI_STDCALL __stdcall 
   61 #define BRLAPI_STDCALL 
   65 typedef __int64 uint64_t;
 
   66 typedef __int32 uint32_t;
 
   67 #define UINT64_C(x) (x ## Ui64) 
   69 typedef 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 
  561 #ifndef BRLAPI_NO_SINGLE_SESSION 
  579 #ifndef BRLAPI_NO_SINGLE_SESSION 
  592 #ifndef BRLAPI_NO_SINGLE_SESSION 
  601   unsigned int regionBegin ;
 
  605   const unsigned char *andMask ;
 
  606   const unsigned char *orMask ;
 
  608   const char *charset ;
 
  615 #define BRLAPI_DISPLAY_DEFAULT -1 
  621 #define BRLAPI_CURSOR_LEAVE -1 
  627 #define BRLAPI_CURSOR_OFF 0 
  639 #define BRLAPI_WRITEARGUMENTS_INITIALIZER { \ 
  640   .displayNumber = BRLAPI_DISPLAY_DEFAULT, \ 
  647   .cursor = BRLAPI_CURSOR_LEAVE, \ 
  687 #ifndef BRLAPI_NO_SINGLE_SESSION 
  713   unsigned int command ;
 
  714   unsigned int argument ;
 
  732   const char *command ;
 
  733   unsigned int argument ;
 
  750 #define BRLAPI_UC_ROW   0x2800UL 
  821 #ifndef BRLAPI_NO_SINGLE_SESSION 
  847 #ifndef BRLAPI_NO_SINGLE_SESSION 
  873 #ifndef BRLAPI_NO_SINGLE_SESSION 
  890 #ifndef BRLAPI_NO_SINGLE_SESSION 
  903 #ifndef BRLAPI_NO_SINGLE_SESSION 
  905 #define brlapi_ignoreAllKeys() brlapi_ignoreKeys(brlapi_rangeType_all, NULL, 0) 
  908 #define brlapi__ignoreAllKeys(handle) brlapi__ignoreKeys(handle, brlapi_rangeType_all, NULL, 0) 
  921 #ifndef BRLAPI_NO_SINGLE_SESSION 
  923 #define brlapi_acceptAllKeys() brlapi_acceptKeys(brlapi_rangeType_all, NULL, 0) 
  926 #define brlapi__acceptAllKeys(handle) brlapi__acceptKeys(handle, brlapi_rangeType_all, NULL, 0) 
  948 #ifndef BRLAPI_NO_SINGLE_SESSION 
  964 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1001 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1009 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1020 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1034 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1044 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1053 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1086 #define BRLAPI_PARAMF_LOCAL          0X00     
 1087 #define BRLAPI_PARAMF_GLOBAL         0X01     
 1088 #define BRLAPI_PARAMF_SELF           0X02     
 1103 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1121 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1139 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1192 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1208 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1225 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1238 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1269 #define  BRLAPI_ERROR_SUCCESS              0 
 1271 #define BRLAPI_ERROR_NOMEM                BRLAPI_ERROR_NOMEM 
 1273 #define BRLAPI_ERROR_TTYBUSY              BRLAPI_ERROR_TTYBUSY 
 1275 #define BRLAPI_ERROR_DEVICEBUSY           BRLAPI_ERROR_DEVICEBUSY 
 1277 #define BRLAPI_ERROR_UNKNOWN_INSTRUCTION  BRLAPI_ERROR_UNKNOWN_INSTRUCTION 
 1279 #define BRLAPI_ERROR_ILLEGAL_INSTRUCTION  BRLAPI_ERROR_ILLEGAL_INSTRUCTION 
 1281 #define BRLAPI_ERROR_INVALID_PARAMETER    BRLAPI_ERROR_INVALID_PARAMETER 
 1283 #define BRLAPI_ERROR_INVALID_PACKET       BRLAPI_ERROR_INVALID_PACKET 
 1285 #define BRLAPI_ERROR_CONNREFUSED          BRLAPI_ERROR_CONNREFUSED 
 1287 #define BRLAPI_ERROR_OPNOTSUPP            BRLAPI_ERROR_OPNOTSUPP 
 1289 #define BRLAPI_ERROR_GAIERR               BRLAPI_ERROR_GAIERR 
 1291 #define BRLAPI_ERROR_LIBCERR              BRLAPI_ERROR_LIBCERR 
 1293 #define BRLAPI_ERROR_UNKNOWNTTY           BRLAPI_ERROR_UNKNOWNTTY 
 1295 #define BRLAPI_ERROR_PROTOCOL_VERSION     BRLAPI_ERROR_PROTOCOL_VERSION 
 1297 #define BRLAPI_ERROR_EOF                  BRLAPI_ERROR_EOF 
 1299 #define BRLAPI_ERROR_EMPTYKEY             BRLAPI_ERROR_EMPTYKEY 
 1301 #define BRLAPI_ERROR_DRIVERERROR          BRLAPI_ERROR_DRIVERERROR 
 1303 #define BRLAPI_ERROR_AUTHENTICATION       BRLAPI_ERROR_AUTHENTICATION 
 1305 #define BRLAPI_ERROR_READONLY_PARAMETER   BRLAPI_ERROR_READONLY_PARAMETER 
 1365 #define brlapi_error (*brlapi_error_location()) 
 1367 #define brlapi_errno (brlapi_error.brlerrno) 
 1369 #define brlapi_libcerrno (brlapi_error.libcerrno) 
 1371 #define brlapi_gaierrno (brlapi_error.gaierrno) 
 1373 #define brlapi_errfun (brlapi_error.errfun) 
 1426 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1441 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1455 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1460 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1469 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1470 int BRLAPI_STDCALL brlapi_writeTextWin(
int cursor, 
const void *str, 
int wide);
 
 1474 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1480 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1481 #define brlapi_writeText(cursor, str) brlapi_writeTextWin(cursor, str, 1) 
 1483 #define brlapi__writeText(handle, cursor, str) brlapi__writeTextWin(handle, cursor, str, 1) 
 1485 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1486 #define brlapi_write(s) brlapi_writeWin(s, 1) 
 1488 #define brlapi__write(handle, s) brlapi__writeWin(handle, s, 1) 
 1492 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1493 #define brlapi_writeText(cursor, str) brlapi_writeTextWin(cursor, str, 0) 
 1495 #define brlapi__writeText(handle, cursor, str) brlapi__writeTextWin(handle, cursor, str, 0) 
 1497 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1498 #define brlapi_write(s) brlapi_writeWin(s, 0) 
 1500 #define brlapi__write(handle, s) brlapi__writeWin(handle, s, 0) 
 1505 #ifndef BRLAPI_NO_DEPRECATED 
 1518 #define brlapi_settings_t brlapi_connectionSettings_t 
 1532 #define BRLAPI_WRITESTRUCT_INITIALIZER BRLAPI_WRITEARGUMENTS_INITIALIZER 
 1534 #define brl_keycode_t brlapi_keyCode_t 
 1535 #define brl_type_t brlapi_packetType_t 
 1537 #define BRLCOMMANDS NULL 
 1538 #define BRL_KEYCODE_MAX BRLAPI_KEY_MAX 
 1540 #ifndef BRLAPI_NO_SINGLE_SESSION 
 1541 #define brlapi_initializeConnection brlapi_openConnection 
 1542 #define brlapi_getTty brlapi_enterTtyMode 
 1543 #define brlapi_getTtyPath brlapi_enterTtyModeWithPath 
 1544 #define brlapi_leaveTty brlapi_leaveTtyMode 
 1545 #define brlapi_unignoreKeyRange brlapi_acceptKeyRange 
 1546 #define brlapi_unignoreKeySet brlapi_acceptKeySet 
 1547 #define brlapi_getRaw brlapi_enterRawMode 
 1548 #define brlapi_leaveRaw brlapi_leaveRawMode 
 1549 #define brlapi_suspend brlapi_suspendDriver 
 1550 #define brlapi_resume brlapi_resumeDriver 
 1553 #define BRLERR_SUCCESS                 BRLAPI_ERROR_SUCCESS 
 1554 #define BRLERR_NOMEM                   BRLAPI_ERROR_NOMEM 
 1555 #define BRLERR_TTYBUSY                 BRLAPI_ERROR_TTYBUSY 
 1556 #define BRLERR_DEVICEBUSY              BRLAPI_ERROR_DEVICEBUSY 
 1557 #define BRLERR_UNKNOWN_INSTRUCTION     BRLAPI_ERROR_UNKNOWN_INSTRUCTION 
 1558 #define BRLERR_ILLEGAL_INSTRUCTION     BRLAPI_ERROR_ILLEGAL_INSTRUCTION 
 1559 #define BRLERR_INVALID_PARAMETER       BRLAPI_ERROR_INVALID_PARAMETER 
 1560 #define BRLERR_INVALID_PACKET          BRLAPI_ERROR_INVALID_PACKET 
 1561 #define BRLERR_CONNREFUSED             BRLAPI_ERROR_CONNREFUSED 
 1562 #define BRLERR_OPNOTSUPP               BRLAPI_ERROR_OPNOTSUPP 
 1563 #define BRLERR_GAIERR                  BRLAPI_ERROR_GAIERR 
 1564 #define BRLERR_LIBCERR                 BRLAPI_ERROR_LIBCERR 
 1565 #define BRLERR_UNKNOWNTTY              BRLAPI_ERROR_UNKNOWNTTY 
 1566 #define BRLERR_PROTOCOL_VERSION        BRLAPI_ERROR_PROTOCOL_VERSION 
 1567 #define BRLERR_EOF                     BRLAPI_ERROR_EOF 
 1568 #define BRLERR_EMPTYKEY                BRLAPI_ERROR_EMPTYKEY 
 1569 #define BRLERR_DRIVERERROR             BRLAPI_ERROR_DRIVERERROR 
#define BRLAPI_ERROR_INVALID_PARAMETER
Definition: brlapi.h:1281
#define BRLAPI_ERROR_DEVICEBUSY
Definition: brlapi.h:1275
#define BRLAPI_ERROR_TTYBUSY
Definition: brlapi.h:1273
#define BRLAPI_ERROR_UNKNOWNTTY
Definition: brlapi.h:1293
#define BRLAPI_ERROR_DRIVERERROR
Definition: brlapi.h:1301
#define BRLAPI_ERROR_AUTHENTICATION
Definition: brlapi.h:1303
#define BRLAPI_ERROR_LIBCERR
Definition: brlapi.h:1291
#define BRLAPI_ERROR_GAIERR
Definition: brlapi.h:1289
#define BRLAPI_ERROR_OPNOTSUPP
Definition: brlapi.h:1287
#define BRLAPI_ERROR_ILLEGAL_INSTRUCTION
Definition: brlapi.h:1279
#define BRLAPI_ERROR_EMPTYKEY
Definition: brlapi.h:1299
#define BRLAPI_ERROR_SUCCESS
Definition: brlapi.h:1269
#define BRLAPI_STDCALL
Definition: brlapi.h:61
#define BRLAPI_ERROR_INVALID_PACKET
Definition: brlapi.h:1283
#define BRLAPI_ERROR_READONLY_PARAMETER
Definition: brlapi.h:1305
#define BRLAPI_ERROR_NOMEM
Definition: brlapi.h:1271
#define BRLAPI_ERROR_EOF
Definition: brlapi.h:1297
#define BRLAPI_ERROR_CONNREFUSED
Definition: brlapi.h:1285
#define BRLAPI_ERROR_PROTOCOL_VERSION
Definition: brlapi.h:1295
#define BRLAPI_ERROR_UNKNOWN_INSTRUCTION
Definition: brlapi.h:1277
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:1427
const char *BRLAPI_STDCALL brlapi_strerror(const brlapi_error_t *error)
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:1367
const char * brlapi_errlist[]
#define brlapi_errfun
Definition: brlapi.h:1373
#define brlapi_error
Definition: brlapi.h:1365
void BRLAPI_STDCALL brlapi_perror(const char *s)
brlapi_error
Definition: brlapi.h:1267
#define brlapi_gaierrno
Definition: brlapi.h:1371
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:1369
brlapi_exceptionHandler_t BRLAPI_STDCALL brlapi_setExceptionHandler(brlapi_exceptionHandler_t handler)
brlapi_error_t *BRLAPI_STDCALL brlapi_error_location(void)
brlapi__exceptionHandler_t BRLAPI_STDCALL brlapi__setExceptionHandler(brlapi_handle_t *handle, brlapi__exceptionHandler_t handler)
uint32_t brlapi_packetType_t
Definition: brlapi.h:1405
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:1429
const char *BRLAPI_STDCALL brlapi_getPacketTypeName(brlapi_packetType_t type)
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:853
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:908
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:926
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:905
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:923
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:854
@ brlapi_rangeType_key
Definition: brlapi.h:857
@ brlapi_rangeType_command
Definition: brlapi.h:856
@ brlapi_rangeType_type
Definition: brlapi.h:855
@ brlapi_rangeType_code
Definition: brlapi.h:858
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:1167
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)
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)
void *BRLAPI_STDCALL brlapi_getParameterAlloc(brlapi_param_t parameter, brlapi_param_subparam_t subparam, brlapi_param_flags_t flags, size_t *len)
uint32_t brlapi_param_flags_t
Definition: brlapi.h:1085
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:1160
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:1328
int gaierrno
Definition: brlapi.h:1331
const char * errfun
Definition: brlapi.h:1332
int libcerrno
Definition: brlapi.h:1330
brlapi_keyCode_t first
Definition: brlapi.h:933
Definition: brlapi.h:1521
int displayNumber
Definition: brlapi.h:1522
int cursor
Definition: brlapi.h:1529
unsigned int regionBegin
Definition: brlapi.h:1523
unsigned int regionSize
Definition: brlapi.h:1524
const char * text
Definition: brlapi.h:1525
const unsigned char * attrOr
Definition: brlapi.h:1528
const char * charset
Definition: brlapi.h:1530
const unsigned char * attrAnd
Definition: brlapi.h:1527
int textSize
Definition: brlapi.h:1526