File: readconfig.h

package info (click to toggle)
libeconf 0.7.7%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,636 kB
  • sloc: ansic: 7,440; python: 1,204; cs: 651; sh: 214; xml: 182; makefile: 7
file content (30 lines) | stat: -rw-r--r-- 941 bytes parent folder | download | duplicates (2)
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

#pragma once

#include "libeconf.h"
#include "keyfile.h"

extern econf_err readConfigHistoryWithCallback(econf_file ***key_files,
					       size_t *size,
					       char **parse_dirs,
					       const int parse_dirs_count,
					       const char *config_name,
					       const char *config_suffix,
					       const char *delim,
					       const char *comment,
					       const bool join_same_entries,
					       const bool python_style,
					       char **conf_dirs,
					       const int conf_count,
					       bool (*callback)(const char *filename, const void *data),
					       const void *callback_data);

extern econf_err readConfigWithCallback(econf_file **result,
					const char *config_name,
					const char *config_suffix,
					const char *delim,
					const char *comment,
					char **conf_dirs,
					const int conf_count,
					bool (*callback)(const char *filename, const void *data),
					const void *callback_data);