#ifndef CLI_h #define CLI_h #include #include "../CMDList/CMDList.h" typedef int (*CLI_charOutFn)(const char* line); // initilize and register the lineout print function bool CLI_init(CLI_charOutFn lineOut, CMDList_t* cmdList); bool CLI_deinit(); #ifdef HISTORY extern void CLI_PrintHistory(); #endif // to recive a single caracter bool CLI_charIn(char c); #endif