aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/files.h
blob: 03acee2fcb41b9d2f28267546e41ec7f25c7b1bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* 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