1*5a065375Sdholland /* $NetBSD: quotapvt.h,v 1.1 2012/01/09 15:27:04 dholland Exp $ */ 2*5a065375Sdholland /*- 3*5a065375Sdholland * Copyright (c) 2011 The NetBSD Foundation, Inc. 4*5a065375Sdholland * All rights reserved. 5*5a065375Sdholland * 6*5a065375Sdholland * This code is derived from software contributed to The NetBSD Foundation 7*5a065375Sdholland * by David A. Holland. 8*5a065375Sdholland * 9*5a065375Sdholland * Redistribution and use in source and binary forms, with or without 10*5a065375Sdholland * modification, are permitted provided that the following conditions 11*5a065375Sdholland * are met: 12*5a065375Sdholland * 1. Redistributions of source code must retain the above copyright 13*5a065375Sdholland * notice, this list of conditions and the following disclaimer. 14*5a065375Sdholland * 2. Redistributions in binary form must reproduce the above copyright 15*5a065375Sdholland * notice, this list of conditions and the following disclaimer in the 16*5a065375Sdholland * documentation and/or other materials provided with the distribution. 17*5a065375Sdholland * 18*5a065375Sdholland * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 19*5a065375Sdholland * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 20*5a065375Sdholland * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 21*5a065375Sdholland * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 22*5a065375Sdholland * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23*5a065375Sdholland * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24*5a065375Sdholland * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25*5a065375Sdholland * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26*5a065375Sdholland * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27*5a065375Sdholland * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28*5a065375Sdholland * POSSIBILITY OF SUCH DAMAGE. 29*5a065375Sdholland */ 30*5a065375Sdholland 31*5a065375Sdholland struct quotahandle { 32*5a065375Sdholland char *qh_mountpoint; 33*5a065375Sdholland }; 34*5a065375Sdholland 35*5a065375Sdholland /* proplib kernel interface */ 36*5a065375Sdholland int __quota_proplib_get(struct quotahandle *qh, const struct quotakey *qk, 37*5a065375Sdholland struct quotaval *qv); 38