1169695Skan/* $NetBSD: envstat_rumpops.c,v 1.1 2010/12/13 18:00:38 pooka Exp $ */ 2169695Skan 3169695Skan/* 4169695Skan * Copyright (c) 2010 The NetBSD Foundation, Inc. 5169695Skan * All rights reserved. 6169695Skan * 7169695Skan * Redistribution and use in source and binary forms, with or without 8169695Skan * modification, are permitted provided that the following conditions 9169695Skan * are met: 10169695Skan * 1. Redistributions of source code must retain the above copyright 11169695Skan * notice, this list of conditions and the following disclaimer. 12169695Skan * 2. Redistributions in binary form must reproduce the above copyright 13169695Skan * notice, this list of conditions and the following disclaimer in the 14169695Skan * documentation and/or other materials provided with the distribution. 15169695Skan * 16169695Skan * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 17169695Skan * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 18169695Skan * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 19169695Skan * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 20169695Skan * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21169695Skan * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22169695Skan * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 23169695Skan * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24169695Skan * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25169695Skan * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26169695Skan * POSSIBILITY OF SUCH DAMAGE. 27169695Skan */ 28169695Skan 29169695Skan#include <sys/cdefs.h> 30169695Skan#ifndef lint 31169695Skan__RCSID("$NetBSD: envstat_rumpops.c,v 1.1 2010/12/13 18:00:38 pooka Exp $"); 32169695Skan#endif /* !lint */ 33169695Skan 34169695Skan#include <sys/types.h> 35169695Skan 36169695Skan#include <rump/rump.h> 37169695Skan#include <rump/rump_syscalls.h> 38169695Skan#include <rump/rumpclient.h> 39169695Skan 40169695Skan#include "prog_ops.h" 41169695Skan 42169695Skanconst struct prog_ops prog_ops = { 43169695Skan .op_init = rumpclient_init, 44169695Skan 45169695Skan .op_open = rump_sys_open, 46169695Skan .op_close = rump_sys_close, 47169695Skan}; 48169695Skan