input.h 421 B

1234567891011
  1. #ifndef READLINE_APP_H
  2. #define READLINE_APP_H
  3. typedef void (*uart_cb_t)(const char *buf, size_t len);
  4. extern void input_setup(int bufsize, const char *prompt);
  5. extern void input_setup_receive(uart_cb_t uart_on_data_cb, int data_len, char end_char, bool run_input);
  6. extern void input_setecho (bool flag);
  7. extern void input_setprompt (const char *prompt);
  8. extern void input_process_arm(void);
  9. #endif /* READLINE_APP_H */