BrlAPI
1.0
|
With version 0.5.0, BrlAPI is now provided through including <brlapi.h> and got a big renaming pass. Old names are still available through macros, but they are deprecated since they will get dropped in the next release. This documentation is for you to know the new names.
For checking that you have completely switched to new names, just define BRLAPI_NO_DEPRECATED: that will disable compatibility macros.
#define BRL_KEYCODE_MAX BRLAPI_KEY_MAX |
#define brl_keycode_t brlapi_keyCode_t |
#define brl_type_t brlapi_packetType_t |
#define brlapi_getRaw brlapi_enterRawMode |
#define brlapi_getTty brlapi_enterTtyMode |
#define brlapi_leaveRaw brlapi_leaveRawMode |
#define brlapi_leaveTty brlapi_leaveTtyMode |
#define brlapi_resume brlapi_resumeDriver |
#define brlapi_suspend brlapi_suspendDriver |
#define brlapi_unignoreKeyRange brlapi_acceptKeyRange |
#define brlapi_unignoreKeySet brlapi_acceptKeySet |
#define BRLCOMMANDS NULL |
#define BRLERR_EMPTYKEY BRLAPI_ERROR_EMPTYKEY |
#define BRLERR_EOF BRLAPI_ERROR_EOF |
#define BRLERR_GAIERR BRLAPI_ERROR_GAIERR |
#define BRLERR_LIBCERR BRLAPI_ERROR_LIBCERR |
#define BRLERR_NOMEM BRLAPI_ERROR_NOMEM |
#define BRLERR_SUCCESS BRLAPI_ERROR_SUCCESS |
#define BRLERR_TTYBUSY BRLAPI_ERROR_TTYBUSY |