Commit a21e48bef2df3c70efdeffea79cfc1fe6dcc996f
1 parent
19dabc57
Exists in
master
and in
3 other branches
Updating keyboard lock API.
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
src/include/lib3270/keyboard.h
@@ -38,6 +38,8 @@ | @@ -38,6 +38,8 @@ | ||
38 | */ | 38 | */ |
39 | typedef enum lib3270_keyboard_lock_state | 39 | typedef enum lib3270_keyboard_lock_state |
40 | { | 40 | { |
41 | + LIB3270_KL_UNLOCKED = 0x0000, ///< @brief Keyboard is unlocked. | ||
42 | + | ||
41 | // Operator errors | 43 | // Operator errors |
42 | LIB3270_KL_OERR_MASK = 0x000f, | 44 | LIB3270_KL_OERR_MASK = 0x000f, |
43 | LIB3270_KL_OERR_PROTECTED = 0x0001, | 45 | LIB3270_KL_OERR_PROTECTED = 0x0001, |
@@ -45,7 +47,7 @@ | @@ -45,7 +47,7 @@ | ||
45 | LIB3270_KL_OERR_OVERFLOW = 0x0003, | 47 | LIB3270_KL_OERR_OVERFLOW = 0x0003, |
46 | LIB3270_KL_OERR_DBCS = 0x0004, | 48 | LIB3270_KL_OERR_DBCS = 0x0004, |
47 | 49 | ||
48 | - LIB3270_KL_NOT_CONNECTED = 0x0010, | 50 | + LIB3270_KL_NOT_CONNECTED = 0x0010, ///< @brief Not connected to host. |
49 | LIB3270_KL_AWAITING_FIRST = 0x0020, | 51 | LIB3270_KL_AWAITING_FIRST = 0x0020, |
50 | LIB3270_KL_OIA_TWAIT = 0x0040, | 52 | LIB3270_KL_OIA_TWAIT = 0x0040, |
51 | LIB3270_KL_OIA_LOCKED = 0x0080, | 53 | LIB3270_KL_OIA_LOCKED = 0x0080, |