1246149Ssjg/* $NetBSD$ */ 2246149Ssjg 3246149Ssjg/* 4246149Ssjg * Copyright (c) 2010 The NetBSD Foundation, Inc. 5246149Ssjg * All rights reserved. 6246149Ssjg * 7246149Ssjg * Redistribution and use in source and binary forms, with or without 8246149Ssjg * modification, are permitted provided that the following conditions 9246149Ssjg * are met: 10246149Ssjg * 1. Redistributions of source code must retain the above copyright 11246149Ssjg * notice, this list of conditions and the following disclaimer. 12246149Ssjg * 2. Redistributions in binary form must reproduce the above copyright 13246149Ssjg * notice, this list of conditions and the following disclaimer in the 14246149Ssjg * documentation and/or other materials provided with the distribution. 15246149Ssjg * 16246149Ssjg * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 17246149Ssjg * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 18246149Ssjg * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 19246149Ssjg * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 20246149Ssjg * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21246149Ssjg * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22246149Ssjg * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 23246149Ssjg * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24246149Ssjg * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25246149Ssjg * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26246149Ssjg * POSSIBILITY OF SUCH DAMAGE. 27246149Ssjg */ 28246149Ssjg 29246149Ssjg#include <sys/cdefs.h> 30246149Ssjg#ifndef lint 31246149Ssjg__RCSID("$NetBSD$"); 32246149Ssjg#endif /* !lint */ 33246149Ssjg 34246149Ssjg#include <sys/types.h> 35246149Ssjg 36246149Ssjg#include <rump/rumpclient.h> 37246149Ssjg#include <rump/rump_syscalls.h> 38246149Ssjg 39246149Ssjg#include "prog_ops.h" 40246149Ssjg 41246149Ssjgconst struct prog_ops prog_ops = { 42246149Ssjg .op_init = rumpclient_init, 43246149Ssjg 44246149Ssjg .op_sysctl = rump_sys___sysctl, 45246149Ssjg}; 46246149Ssjg