xref: /netbsd-src/usr.bin/rump_dhcpclient/configure.h (revision e963960681e924e34192f4aace9206aa70d13d8d)
1*e9639606Spooka /*
2*e9639606Spooka  * dhcpcd - DHCP client daemon
3*e9639606Spooka  * Copyright (c) 2006-2009 Roy Marples <roy@marples.name>
4*e9639606Spooka  * All rights reserved
5*e9639606Spooka 
6*e9639606Spooka  * Redistribution and use in source and binary forms, with or without
7*e9639606Spooka  * modification, are permitted provided that the following conditions
8*e9639606Spooka  * are met:
9*e9639606Spooka  * 1. Redistributions of source code must retain the above copyright
10*e9639606Spooka  *    notice, this list of conditions and the following disclaimer.
11*e9639606Spooka  * 2. Redistributions in binary form must reproduce the above copyright
12*e9639606Spooka  *    notice, this list of conditions and the following disclaimer in the
13*e9639606Spooka  *    documentation and/or other materials provided with the distribution.
14*e9639606Spooka  *
15*e9639606Spooka  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16*e9639606Spooka  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17*e9639606Spooka  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18*e9639606Spooka  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19*e9639606Spooka  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20*e9639606Spooka  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21*e9639606Spooka  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22*e9639606Spooka  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23*e9639606Spooka  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24*e9639606Spooka  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25*e9639606Spooka  * SUCH DAMAGE.
26*e9639606Spooka  */
27*e9639606Spooka 
28*e9639606Spooka #ifndef DHCPCONFIG_H
29*e9639606Spooka #define DHCPCONFIG_H
30*e9639606Spooka 
31*e9639606Spooka #include "net.h"
32*e9639606Spooka 
33*e9639606Spooka int send_interface(int, const struct interface *);
34*e9639606Spooka int run_script(const struct interface *);
35*e9639606Spooka void build_routes(void);
36*e9639606Spooka int configure(struct interface *);
37*e9639606Spooka int route_deleted(const struct rt *);
38*e9639606Spooka #endif
39