blob: 279738adf7162c7f66f95bcb971aa00c9b88907d [file] [log] [blame]
Russ Dill61fb4892002-10-14 21:41:28 +00001/* files.h */
2#ifndef _FILES_H
3#define _FILES_H
4
5struct config_keyword {
Glenn L McGrath24833432003-06-10 17:22:49 +00006 const char *keyword;
7 int (* const handler)(const char *line, void *var);
Russ Dill61fb4892002-10-14 21:41:28 +00008 void *var;
Glenn L McGrath24833432003-06-10 17:22:49 +00009 const char *def;
Russ Dill61fb4892002-10-14 21:41:28 +000010};
11
12
Glenn L McGrath24833432003-06-10 17:22:49 +000013int read_config(const char *file);
Russ Dill61fb4892002-10-14 21:41:28 +000014void write_leases(void);
Glenn L McGrath24833432003-06-10 17:22:49 +000015void read_leases(const char *file);
Russ Dill61fb4892002-10-14 21:41:28 +000016
17#endif