Definition in file example_utils.h.


Go to the source code of this file.
Functions | |
| static int | set_tty_raw (void) |
| TBD. | |
| static void | bye_bye (void) |
| TBD. | |
| static int | peekch (void) |
| TBD. | |
| static void | delay (int msec) |
| TBD. | |
| static void | help (int port) |
| TBD. | |
| static int | peek_key (mihl_ctx_t *ctx) |
| TBD. | |
Variables | |
| static int | initialized = 0 |
| static struct termios termattr | save_termattr |
| static int set_tty_raw | ( | void | ) | [static] |
TBD.
Definition at line 26 of file example_utils.h.
References save_termattr.
Referenced by peekch().

| static void bye_bye | ( | void | ) | [static] |
TBD.
Definition at line 56 of file example_utils.h.
References initialized, and save_termattr.
Referenced by peekch().

| static int peekch | ( | void | ) | [static] |
TBD.
Definition at line 68 of file example_utils.h.
References bye_bye(), initialized, and set_tty_raw().
Referenced by peek_key().


| static void delay | ( | int | msec | ) | [inline, static] |
TBD.
| msec | TBD |
Definition at line 90 of file example_utils.h.
Referenced by peek_key().

| static void help | ( | int | port | ) | [static] |
TBD.
Definition at line 97 of file example_utils.h.
Referenced by main().

| static int peek_key | ( | mihl_ctx_t * | ctx | ) | [static] |
TBD.
| ctx | opaque context structure as returned by mihl_init() |
Definition at line 113 of file example_utils.h.
References delay(), mihl_dump_info(), mihl_dump_info_handlers(), mihl_get_log_level(), MIHL_LOG_DEBUG, MIHL_LOG_INFO_VERBOSE, mihl_set_log_level(), and peekch().
Referenced by main().


int initialized = 0 [static] |
struct termios termattr save_termattr [static] |
1.5.6