mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 16:31:24 +00:00
20 lines
360 B
C
20 lines
360 B
C
/* files.h */
|
|
#ifndef _FILES_H
|
|
#define _FILES_H
|
|
|
|
struct config_keyword {
|
|
const char *keyword;
|
|
int (* const handler)(const char *line, void *var);
|
|
void *var;
|
|
const char *def;
|
|
};
|
|
|
|
|
|
int read_config(const char *file);
|
|
void write_leases(void);
|
|
void read_leases(const char *file);
|
|
|
|
struct option_set *find_option(struct option_set *opt_list, char code);
|
|
|
|
#endif
|