David van Moolenbroek 83ee113ee0 Import NetBSD dhclient(8), dhcpd(8), dhcrelay(8)
dhcrelay(8) and omshell(1) have not been tested.

Change-Id: I0cad89f65666af4e366a86e130ce8df0894c3bb4
2017-03-21 22:00:14 +00:00

46 lines
809 B
C

/* $NetBSD: t_api_dhcp.c,v 1.1.1.2 2014/07/12 11:58:01 spz Exp $ */
/*
* 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
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;
}