exec.h revision 225736
1202878Srdivacky/*-
2202878Srdivacky * Copyright (c) 1999 Brian Somers <brian@Awfulhak.org>
3202878Srdivacky * All rights reserved.
4202878Srdivacky *
5202878Srdivacky * Redistribution and use in source and binary forms, with or without
6202878Srdivacky * modification, are permitted provided that the following conditions
7202878Srdivacky * are met:
8202878Srdivacky * 1. Redistributions of source code must retain the above copyright
9202878Srdivacky *    notice, this list of conditions and the following disclaimer.
10202878Srdivacky * 2. Redistributions in binary form must reproduce the above copyright
11202878Srdivacky *    notice, this list of conditions and the following disclaimer in the
12202878Srdivacky *    documentation and/or other materials provided with the distribution.
13202878Srdivacky *
14249423Sdim * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15249423Sdim * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16202878Srdivacky * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17202878Srdivacky * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18202878Srdivacky * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19218893Sdim * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20202878Srdivacky * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21202878Srdivacky * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22202878Srdivacky * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23202878Srdivacky * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24202878Srdivacky * SUCH DAMAGE.
25202878Srdivacky *
26202878Srdivacky * $FreeBSD: stable/9/usr.sbin/ppp/exec.h 196514 2009-08-24 17:19:45Z brian $
27202878Srdivacky */
28202878Srdivacky
29218893Sdimstruct physical;
30202878Srdivackystruct device;
31202878Srdivacky
32226633Sdimextern struct device *exec_Create(struct physical *);
33218893Sdimextern struct device *exec_iov2device(int, struct physical *,
34243830Sdim                                      struct iovec *, int *, int, int *, int *);
35243830Sdimextern unsigned exec_DeviceSize(void);
36202878Srdivacky