dhcpcd/info.h

37 lines
1.1 KiB
C

/*
* dhcpcd - DHCP client daemon -
* Copyright 2006-2007 Roy Marples <uberlord@gentoo.org>
*
* dhcpcd is an RFC2131 compliant DHCP client daemon.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef INFO_H
#define INFO_H
#include "dhcpcd.h"
#include "interface.h"
#include "dhcp.h"
#ifdef ENABLE_INFO
bool write_info (const interface_t *iface, const dhcp_t *dhcp,
const options_t *options, bool overwrite);
bool read_info (const interface_t *iface, dhcp_t *dhcp);
#endif
#endif