filecomplete/filecomplete.h

86 lines
1.8 KiB
C
Raw Normal View History

#ifndef FILE_COMPLETE_H
#define FILE_COMPLETE_H
/**
* @file file_complete.h
* @brief
*
*
* - 使 GBK `BINARY_GBK`
* - UTF-8
*
*
* -
* - `std::getline`
* - 线
*/
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief
*
* @param deadline_ch '|'
*/
void fc_append(char deadline_ch);
/**
* @brief
*
* @param header
*/
void fc_set_header(const char* h);
/**
* @brief `std::getline`
*
* @return 使 `fc_free`
* `NULL` Ctrl+C
*/
char* fc_readline(void);
/**
* @brief
*/
void fc_enable_cur(void);
/**
* @brief
*/
void fc_disable_cur(void);
/**
* @brief 线
*/
void fc_lock_print(void);
/**
* @brief 线
*/
void fc_unlock_print(void);
/**
* @brief `fc_readline`
*
* @param str
*/
void fc_free(char* str);
2025-02-25 00:54:00 -08:00
/**
* @brief ~
*/
void fc_turn_on();
/**
* @brief
*/
void fc_turn_off();
#ifdef __cplusplus
}
#endif
#endif /* FILE_COMPLETE_H */