]> git.ipfire.org Git - thirdparty/dhcp.git/blob - tests/t_api_dhcp.c
checkpoint for regen
[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 dhcpv4o6_handler(omapi_object_t *h) {
23 return ISC_R_NOTIMPLEMENTED;
24 }
25
26 isc_result_t
27 dhcp_set_control_state(control_object_state_t old, control_object_state_t new) {
28 return ISC_R_NOTIMPLEMENTED;
29 }
30
31 int
32 check_collection(struct packet *p, struct lease *l, struct collection *c) {
33 return 0;
34 }
35
36 void
37 classify (struct packet *p, struct class *c) {
38 }
39
40 isc_result_t
41 find_class(struct class **class, const char *c1, const char *c2, int i) {
42 return ISC_R_NOTFOUND;
43 }
44
45 int
46 parse_allow_deny(struct option_cache **oc, struct parse *p, int i) {
47 return 0;
48 }
49