cf.h
来自「The configuration file reading samples f」· C头文件 代码 · 共 28 行
H
28 行
#ifndef CF_H
#define CF_H
/*
* Header file for configuration file library
*/
#define CF_OK 0
#define CF_NOT_FOUND -11
#define CF_ERR_CLOSE -102
#define CF_ERR_SLOT_TOO_MANY -103
#define CF_ERR_PARAMETER -104
#define CF_ERR_LINE_TOO_LONG -105
#define CF_ERR_BEGIN_DATA -106
#define CF_ERR_WITHOUT_KEYW -108
#define CF_ERR_WITHOUT_BEGIN -109
#define CF_ERR_WITHOUT_END -110
#define CF_ERR_WITHOUT_DATA -111
#define CF_ERR_SYNTAX_ENV -112
#define CF_ERR_ENV_VAR -113
#define CF_ERR_FILE_POS -114
extern int CF_open(char *cf_path);
extern int CF_close(int cf_id);
extern int CF_read(int cf_id, char *keyword, char *buf, int buf_len);
#endif /* CF_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?