readini.h

来自「Vxworks 下的视频采集程序」· C头文件 代码 · 共 28 行

H
28
字号
#ifndef __READINI_H__
#define __READINI_H__

#ifndef __XDEFINE_H__
#define         BOOL            int
#define         DWORD           unsigned long
#endif // #ifndef __XDEFINE_H__

#ifdef __cplusplus
        extern "C" {
#endif

// function definition
BOOL    READINI_ParseFile(char* filename);
DWORD   READINI_Hex2Dec(char* hex);
BOOL    READINI_GetEntryInt(char* section, char* item, DWORD* val);
BOOL    READINI_GetEntryStr(char* section, char* item, char* val);
BOOL    READINI_GetNext(int* pos, char* item, char* val);
BOOL    READINI_GoSection(char* section, int* pos);
void    READINI_PrintPara(void);


#ifdef  __cplusplus
        }
#endif

#endif  //__READINI_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?