quotacheck.h revision 207736
1175678Smpp/* 2175678Smpp * Copyright (c) 1980, 1990, 1993 3175678Smpp * The Regents of the University of California. All rights reserved. 4175678Smpp * 5175678Smpp * This code is derived from software contributed to Berkeley by 6175678Smpp * Robert Elz at The University of Melbourne. 7175678Smpp * 8175678Smpp * Redistribution and use in source and binary forms, with or without 9175678Smpp * modification, are permitted provided that the following conditions 10175678Smpp * are met: 11175678Smpp * 1. Redistributions of source code must retain the above copyright 12175678Smpp * notice, this list of conditions and the following disclaimer. 13175678Smpp * 2. Redistributions in binary form must reproduce the above copyright 14175678Smpp * notice, this list of conditions and the following disclaimer in the 15175678Smpp * documentation and/or other materials provided with the distribution. 16175678Smpp * 4. Neither the name of the University nor the names of its contributors 17175678Smpp * may be used to endorse or promote products derived from this software 18175678Smpp * without specific prior written permission. 19175678Smpp * 20175678Smpp * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 21175678Smpp * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22175678Smpp * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23175678Smpp * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 24175678Smpp * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25175678Smpp * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26175678Smpp * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27175678Smpp * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28175678Smpp * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29175678Smpp * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30175678Smpp * SUCH DAMAGE. 31175678Smpp * 32175678Smpp * $FreeBSD: head/sbin/quotacheck/quotacheck.h 207736 2010-05-07 00:41:12Z mckusick $ 33175678Smpp */ 34175678Smpp 35207736Smckusickextern char *blockcheck(char *); 36207736Smckusickextern int checkfstab(int, int); 37207736Smckusickextern int chkquota(char *, struct quotafile *, struct quotafile *); 38