summaryrefslogtreecommitdiff
path: root/tests/t_api_dhcp.c
blob: 718758e1a1d1add54f8c6cd3a98d00ec75764db8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
 * We have to have a number of symbols defined in order to build a
 * DHCP program.
 */

#include <config.h>
#include "dhcpd.h"

void 
bootp(struct packet *packet) {
}

void
dhcp(struct packet *packet) {
}

void
dhcpv6(struct packet *packet) {
}

isc_result_t
dhcpv4o6_handler(omapi_object_t *h) {
	return ISC_R_NOTIMPLEMENTED;
}

isc_result_t
dhcp_set_control_state(control_object_state_t old, control_object_state_t new) {
	return ISC_R_NOTIMPLEMENTED;
}

int
check_collection(struct packet *p, struct lease *l, struct collection *c) {
	return 0;
}

void
classify (struct packet *p, struct class *c) {
}

isc_result_t
find_class(struct class **class, const char *c1, const char *c2, int i) {
        return ISC_R_NOTFOUND;
}

int
parse_allow_deny(struct option_cache **oc, struct parse *p, int i) {
        return 0;
}