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