1
0
mirror of https://gitea.quitesimple.org/crtxcr/cgitsb synced 2024-11-26 11:33:47 +01:00
cgitsb/configfile.h
Lars Hjemli 20a33548b9 Move function for configfile parsing into configfile.[ch]
This is a generic function which wanted its own little object file.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2008-03-28 00:09:11 +01:00

9 lines
220 B
C

#ifndef CONFIGFILE_H
#define CONFIGFILE_H
typedef void (*configfile_value_fn)(const char *name, const char *value);
extern int parse_configfile(const char *filename, configfile_value_fn fn);
#endif /* CONFIGFILE_H */