Unify Framework Lib 1.6.0
uic_stdin_command_handler.h
Go to the documentation of this file.
1/* # License
2 * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
3 *
4 *
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 */
12
24#ifndef UIC_STDIN_COMMAND_HANDLER_H
25#define UIC_STDIN_COMMAND_HANDLER_H
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31#include "sl_status.h"
32#include <stdint.h>
33
40
50char *uic_stdin_command_generator(const char *text, int state);
51
56const char *get_prompt_string();
57
63
64#ifdef __cplusplus
65}
66#endif
67
69#endif // UIC_STDIN_COMMAND_HANDLER_H
uint32_t sl_status_t
Definition: sl_status.h:139
SL Status Codes.
char * uic_stdin_command_generator(const char *text, int state)
Command generator for editline.
const char * get_prompt_string()
Get the prompt string for CLI.
sl_status_t uic_stdin_handle_command(const char *command)
Handle a command e.g. from stdio.
void uic_stdin_init()
Initialize Unify stdin/stdout.