1 /* $NetBSD: t_api_dhcp.c,v 1.1.1.2 2014/07/12 11:58:01 spz Exp $ */
2 /*
3 * We have to have a number of symbols defined in order to build a
4 * DHCP program.
5 */
6
7 #include <config.h>
8 #include "dhcpd.h"
9
10 void
bootp(struct packet * packet)11 bootp(struct packet *packet) {
12 }
13
14 void
dhcp(struct packet * packet)15 dhcp(struct packet *packet) {
16 }
17
18 void
dhcpv6(struct packet * packet)19 dhcpv6(struct packet *packet) {
20 }
21
22 isc_result_t
dhcp_set_control_state(control_object_state_t old,control_object_state_t new)23 dhcp_set_control_state(control_object_state_t old, control_object_state_t new) {
24 return ISC_R_NOTIMPLEMENTED;
25 }
26
27 int
check_collection(struct packet * p,struct lease * l,struct collection * c)28 check_collection(struct packet *p, struct lease *l, struct collection *c) {
29 return 0;
30 }
31
32 void
classify(struct packet * p,struct class * c)33 classify (struct packet *p, struct class *c) {
34 }
35
36 isc_result_t
find_class(struct class ** class,const char * c1,const char * c2,int i)37 find_class(struct class **class, const char *c1, const char *c2, int i) {
38 return ISC_R_NOTFOUND;
39 }
40
41 int
parse_allow_deny(struct option_cache ** oc,struct parse * p,int i)42 parse_allow_deny(struct option_cache **oc, struct parse *p, int i) {
43 return 0;
44 }
45
46