]> git.ipfire.org Git - thirdparty/dhcp.git/blob - tests/t_api_dhcp.c
Merged rt43285 (make distcheck vs --with-libbind)
[thirdparty/dhcp.git] / tests / t_api_dhcp.c
1 /*
2 * We have to have a number of symbols defined in order to build a
3 * DHCP program.
4 */
5
6 #include <config.h>
7 #include "dhcpd.h"
8
9 void
10 bootp(struct packet *packet) {
11 }
12
13 void
14 dhcp(struct packet *packet) {
15 }
16
17 void
18 dhcpv6(struct packet *packet) {
19 }
20
21 isc_result_t
22 dhcp_set_control_state(control_object_state_t old, control_object_state_t new) {
23 return ISC_R_NOTIMPLEMENTED;
24 }
25
26 int
27 check_collection(struct packet *p, struct lease *l, struct collection *c) {
28 return 0;
29 }
30
31 void
32 classify (struct packet *p, struct class *c) {
33 }
34
35 isc_result_t
36 find_class(struct class **class, const char *c1, const char *c2, int i) {
37 return ISC_R_NOTFOUND;
38 }
39
40 int
41 parse_allow_deny(struct option_cache **oc, struct parse *p, int i) {
42 return 0;
43 }
44