hc
2024-08-12 233ab1bd4c5697f5cdec94e60206e8c6ac609b4c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __RKAIQ_INI_H__
#define __RKAIQ_INI_H__
 
#ifdef __cplusplus
extern "C" {
#endif
 
#define INI_VERSION "0.1.1"
#define OFFLINE_INI_FILE "/tmp/aiq_offline.ini"
 
typedef struct ini_t ini_t;
 
extern ini_t*      rkaiq_ini_load(const char *filename);
extern void        rkaiq_ini_free(ini_t *ini);
extern const char* rkaiq_ini_get(ini_t *ini, const char *section, const char *key);
extern int         rkaiq_ini_sget(ini_t *ini, const char *section, const char *key, const char *scanfmt, void *dst);
 
#ifdef __cplusplus
}
#endif
 
#endif  /*__RKAIQ_INI_H__*/