xref: /netbsd-src/usr.sbin/envstat/envstat_hostops.c (revision d84441777fe1414e335c00ae686be753bf5b247f)
1*d8444177Spooka /*	$NetBSD: envstat_hostops.c,v 1.2 2010/12/15 15:07:54 pooka Exp $	*/
23d4766ceSpooka 
33d4766ceSpooka /*
43d4766ceSpooka  * Copyright (c) 2010 The NetBSD Foundation, Inc.
53d4766ceSpooka  * All rights reserved.
63d4766ceSpooka  *
73d4766ceSpooka  * Redistribution and use in source and binary forms, with or without
83d4766ceSpooka  * modification, are permitted provided that the following conditions
93d4766ceSpooka  * are met:
103d4766ceSpooka  * 1. Redistributions of source code must retain the above copyright
113d4766ceSpooka  *    notice, this list of conditions and the following disclaimer.
123d4766ceSpooka  * 2. Redistributions in binary form must reproduce the above copyright
133d4766ceSpooka  *    notice, this list of conditions and the following disclaimer in the
143d4766ceSpooka  *    documentation and/or other materials provided with the distribution.
153d4766ceSpooka  *
163d4766ceSpooka  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
173d4766ceSpooka  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
183d4766ceSpooka  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
193d4766ceSpooka  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
203d4766ceSpooka  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
213d4766ceSpooka  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
223d4766ceSpooka  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
233d4766ceSpooka  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
243d4766ceSpooka  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
253d4766ceSpooka  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
263d4766ceSpooka  * POSSIBILITY OF SUCH DAMAGE.
273d4766ceSpooka  */
283d4766ceSpooka 
293d4766ceSpooka #include <sys/cdefs.h>
303d4766ceSpooka #ifndef lint
31*d8444177Spooka __RCSID("$NetBSD: envstat_hostops.c,v 1.2 2010/12/15 15:07:54 pooka Exp $");
323d4766ceSpooka #endif /* !lint */
333d4766ceSpooka 
343d4766ceSpooka #include <sys/types.h>
353d4766ceSpooka #include <sys/ioctl.h>
363d4766ceSpooka 
373d4766ceSpooka #include <fcntl.h>
383d4766ceSpooka #include <unistd.h>
393d4766ceSpooka 
403d4766ceSpooka #include "prog_ops.h"
413d4766ceSpooka 
423d4766ceSpooka const struct prog_ops prog_ops = {
433d4766ceSpooka 	.op_open = open,
443d4766ceSpooka 	.op_close = close,
453d4766ceSpooka };
46