exec.h revision 50479
1311116Sdim/*- 2311116Sdim * Copyright (c) 1999 Brian Somers <brian@Awfulhak.org> 3353358Sdim * All rights reserved. 4353358Sdim * 5353358Sdim * Redistribution and use in source and binary forms, with or without 6311116Sdim * modification, are permitted provided that the following conditions 7311116Sdim * are met: 8311116Sdim * 1. Redistributions of source code must retain the above copyright 9311116Sdim * notice, this list of conditions and the following disclaimer. 10311116Sdim * 2. Redistributions in binary form must reproduce the above copyright 11311116Sdim * notice, this list of conditions and the following disclaimer in the 12311116Sdim * documentation and/or other materials provided with the distribution. 13311116Sdim * 14311116Sdim * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15311116Sdim * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16311116Sdim * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17311116Sdim * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18311116Sdim * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19311116Sdim * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20311116Sdim * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21311116Sdim * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22311116Sdim * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23311116Sdim * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24311116Sdim * SUCH DAMAGE. 25311116Sdim * 26311116Sdim * $FreeBSD: head/usr.sbin/ppp/exec.h 50479 1999-08-28 01:35:59Z peter $ 27311116Sdim */ 28311116Sdim 29311116Sdimstruct physical; 30311116Sdimstruct device; 31311116Sdim 32311116Sdimextern struct device *exec_Create(struct physical *); 33311116Sdimextern struct device *exec_iov2device(int, struct physical *, 34311116Sdim struct iovec *, int *, int); 35311116Sdim#define exec_DeviceSize physical_DeviceSize 36311116Sdim