about summary refs log tree commit diff
path: root/configfile.h
blob: 04235e547c87201249b8fab47f3eff7be843bcd7 (plain) (blame)
1
2
3
4
5
6
7
8
#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 */
June McEnroe 2019-10-23Fix rest parsingJune McEnroe 2019-10-23Add dynamic poll listJune McEnroe 2019-10-23Don't assume commands have targets and handle ERRORJune McEnroe 2019-10-23Clean up state somewhatJune McEnroe 2019-10-23Actually send the buffer...June McEnroe 2019-10-23Add stateJune McEnroe