File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / dhcp / tests / t_api_dhcp.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Oct 9 09:06:55 2012 UTC (11 years, 8 months ago) by misho
Branches: dhcp, MAIN
CVS tags: v4_1_R7p0, v4_1_R7, v4_1_R4, HEAD
dhcp 4.1 r7

    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: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>