2024-04-06 17:21:03 +02:00

18 lines
334 B
C

#ifndef CLI_h
#define CLI_h
#include <stdbool.h>
#include "../CMDList/CMDList.h"
typedef CLI_lineOutFn(char* line) CLI_lineoutFn_t;
// initilize and register the lineout print function
bool CLI_init(CLI_lineoutFn_t* lineOut, CMDList_t* cmdList);
bool CLI_deinit();
// to recive a single caracter
bool CLI_charIn(char c);
#endif