14b053192e86198125efc190c846ef642f3671af3Samuel Tan/* 24b053192e86198125efc190c846ef642f3671af3Samuel Tan * dhcpcd - DHCP client daemon 34b053192e86198125efc190c846ef642f3671af3Samuel Tan * Copyright (c) 2006-2015 Roy Marples <roy@marples.name> 44b053192e86198125efc190c846ef642f3671af3Samuel Tan * All rights reserved 54b053192e86198125efc190c846ef642f3671af3Samuel Tan 64b053192e86198125efc190c846ef642f3671af3Samuel Tan * Redistribution and use in source and binary forms, with or without 74b053192e86198125efc190c846ef642f3671af3Samuel Tan * modification, are permitted provided that the following conditions 84b053192e86198125efc190c846ef642f3671af3Samuel Tan * are met: 94b053192e86198125efc190c846ef642f3671af3Samuel Tan * 1. Redistributions of source code must retain the above copyright 104b053192e86198125efc190c846ef642f3671af3Samuel Tan * notice, this list of conditions and the following disclaimer. 114b053192e86198125efc190c846ef642f3671af3Samuel Tan * 2. Redistributions in binary form must reproduce the above copyright 124b053192e86198125efc190c846ef642f3671af3Samuel Tan * notice, this list of conditions and the following disclaimer in the 134b053192e86198125efc190c846ef642f3671af3Samuel Tan * documentation and/or other materials provided with the distribution. 144b053192e86198125efc190c846ef642f3671af3Samuel Tan * 154b053192e86198125efc190c846ef642f3671af3Samuel Tan * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 164b053192e86198125efc190c846ef642f3671af3Samuel Tan * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 174b053192e86198125efc190c846ef642f3671af3Samuel Tan * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 184b053192e86198125efc190c846ef642f3671af3Samuel Tan * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 194b053192e86198125efc190c846ef642f3671af3Samuel Tan * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 204b053192e86198125efc190c846ef642f3671af3Samuel Tan * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 214b053192e86198125efc190c846ef642f3671af3Samuel Tan * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 224b053192e86198125efc190c846ef642f3671af3Samuel Tan * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 234b053192e86198125efc190c846ef642f3671af3Samuel Tan * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 244b053192e86198125efc190c846ef642f3671af3Samuel Tan * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 254b053192e86198125efc190c846ef642f3671af3Samuel Tan * SUCH DAMAGE. 264b053192e86198125efc190c846ef642f3671af3Samuel Tan */ 274b053192e86198125efc190c846ef642f3671af3Samuel Tan 284b053192e86198125efc190c846ef642f3671af3Samuel Tan#include "common.h" 294b053192e86198125efc190c846ef642f3671af3Samuel Tan#include "script.h" 304b053192e86198125efc190c846ef642f3671af3Samuel Tan 314b053192e86198125efc190c846ef642f3671af3Samuel Tanvoid 324b053192e86198125efc190c846ef642f3671af3Samuel Tanif_printoptions(void) 334b053192e86198125efc190c846ef642f3671af3Samuel Tan{ 344b053192e86198125efc190c846ef642f3671af3Samuel Tan /* Stub implementation. */ 354b053192e86198125efc190c846ef642f3671af3Samuel Tan} 364b053192e86198125efc190c846ef642f3671af3Samuel Tan 374b053192e86198125efc190c846ef642f3671af3Samuel Tanint 384b053192e86198125efc190c846ef642f3671af3Samuel Tansend_interface(struct fd_list *fd, const struct interface *ifp) 394b053192e86198125efc190c846ef642f3671af3Samuel Tan{ 404b053192e86198125efc190c846ef642f3671af3Samuel Tan /* Stub implementation. */ 414b053192e86198125efc190c846ef642f3671af3Samuel Tan return 0; 424b053192e86198125efc190c846ef642f3671af3Samuel Tan} 434b053192e86198125efc190c846ef642f3671af3Samuel Tan 444b053192e86198125efc190c846ef642f3671af3Samuel Tanint 454b053192e86198125efc190c846ef642f3671af3Samuel Tanscript_runreason(const struct interface *ifp, const char *reason) 464b053192e86198125efc190c846ef642f3671af3Samuel Tan{ 474b053192e86198125efc190c846ef642f3671af3Samuel Tan /* Stub implementation. */ 484b053192e86198125efc190c846ef642f3671af3Samuel Tan return 0; 494b053192e86198125efc190c846ef642f3671af3Samuel Tan} 50