blob: 3d34d082c4f8cecf6468934b4fe17fb2ed5e7196 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* profile.h
*/
typedef struct _profile_t *profile_t;
#if defined(__STDC__) || defined(_WINDOWS)
#define PROTOTYPE(x) x
#else
#define PROTOTYPE(x) ()
#endif
extern long profile_init
PROTOTYPE ((const char **filenames, profile_t *ret_profile));
extern void profile_release
PROTOTYPE ((profile_t profile));
extern long profile_get_values
PROTOTYPE ((profile_t profile, const char **names, char ***ret_values));
extern long profile_get_string
PROTOTYPE((profile_t profile, const char *name, const char *subname,
const char *subsubname, const char *def_val,
char **ret_string));
extern long profile_get_integer
PROTOTYPE((profile_t profile, const char *name, const char *subname,
const char *subsubname, int def_val,
int *ret_default));
|