⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cf.h

📁 The configuration file reading samples for ARM project development. Including the sample .conf files
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -