11.2Spgoyette/*	$NetBSD: fssconfig_rumpops.c,v 1.2 2016/07/31 02:15:54 pgoyette Exp $	*/
21.2Spgoyette
31.2Spgoyette/*
41.2Spgoyette * Copyright (c) 2009 The NetBSD Foundation, Inc.
51.2Spgoyette * All rights reserved.
61.2Spgoyette *
71.2Spgoyette * Redistribution and use in source and binary forms, with or without
81.2Spgoyette * modification, are permitted provided that the following conditions
91.2Spgoyette * are met:
101.2Spgoyette * 1. Redistributions of source code must retain the above copyright
111.2Spgoyette *    notice, this list of conditions and the following disclaimer.
121.2Spgoyette * 2. Redistributions in binary form must reproduce the above copyright
131.2Spgoyette *    notice, this list of conditions and the following disclaimer in the
141.2Spgoyette *    documentation and/or other materials provided with the distribution.
151.2Spgoyette *
161.2Spgoyette * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
171.2Spgoyette * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
181.2Spgoyette * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
191.2Spgoyette * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
201.2Spgoyette * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
211.2Spgoyette * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
221.2Spgoyette * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
231.2Spgoyette * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
241.2Spgoyette * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
251.2Spgoyette * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
261.2Spgoyette * POSSIBILITY OF SUCH DAMAGE.
271.2Spgoyette */
281.2Spgoyette
291.2Spgoyette#include <sys/cdefs.h>
301.2Spgoyette#ifndef lint
311.2Spgoyette__RCSID("$NetBSD: fssconfig_rumpops.c,v 1.2 2016/07/31 02:15:54 pgoyette Exp $");
321.2Spgoyette#endif /* !lint */
331.2Spgoyette
341.2Spgoyette#include <sys/types.h>
351.2Spgoyette#include <sys/ioctl.h>
361.2Spgoyette#include <sys/stat.h>
371.2Spgoyette#include <sys/statvfs.h>
381.2Spgoyette
391.2Spgoyette#include <rump/rump.h>
401.2Spgoyette#include <rump/rump_syscalls.h>
411.2Spgoyette#include <rump/rumpclient.h>
421.2Spgoyette
431.2Spgoyette#include "prog_ops.h"
441.2Spgoyette
451.2Spgoyetteconst struct prog_ops prog_ops = {
461.2Spgoyette	.op_init =	rumpclient_init,
471.2Spgoyette	.op_open =	rump_sys_open,
481.2Spgoyette	.op_ioctl =	rump_sys_ioctl,
491.2Spgoyette	.op_pread =	rump_sys_pread,
501.2Spgoyette	.op_close =	rump_sys_close,
511.2Spgoyette        .op_stat =	rump_sys_stat,
521.2Spgoyette        .op_fstat =	rump_sys_fstat,
531.2Spgoyette        .op_statvfs1 =	rump_sys_statvfs1,
541.2Spgoyette};
55