quotacheck.h revision 207736
1254885Sdumbbell/* 2254885Sdumbbell * Copyright (c) 1980, 1990, 1993 3254885Sdumbbell * The Regents of the University of California. All rights reserved. 4254885Sdumbbell * 5254885Sdumbbell * This code is derived from software contributed to Berkeley by 6254885Sdumbbell * Robert Elz at The University of Melbourne. 7254885Sdumbbell * 8254885Sdumbbell * Redistribution and use in source and binary forms, with or without 9254885Sdumbbell * modification, are permitted provided that the following conditions 10254885Sdumbbell * are met: 11254885Sdumbbell * 1. Redistributions of source code must retain the above copyright 12254885Sdumbbell * notice, this list of conditions and the following disclaimer. 13254885Sdumbbell * 2. Redistributions in binary form must reproduce the above copyright 14254885Sdumbbell * notice, this list of conditions and the following disclaimer in the 15254885Sdumbbell * documentation and/or other materials provided with the distribution. 16254885Sdumbbell * 4. Neither the name of the University nor the names of its contributors 17254885Sdumbbell * may be used to endorse or promote products derived from this software 18254885Sdumbbell * without specific prior written permission. 19254885Sdumbbell * 20254885Sdumbbell * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 21254885Sdumbbell * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22254885Sdumbbell * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23254885Sdumbbell * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 24254885Sdumbbell * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25254885Sdumbbell * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26254885Sdumbbell * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27254885Sdumbbell * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28254885Sdumbbell * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29254885Sdumbbell * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30254885Sdumbbell * SUCH DAMAGE. 31254885Sdumbbell * 32254885Sdumbbell * $FreeBSD: head/sbin/quotacheck/quotacheck.h 207736 2010-05-07 00:41:12Z mckusick $ 33254885Sdumbbell */ 34254885Sdumbbell 35254885Sdumbbellextern char *blockcheck(char *); 36254885Sdumbbellextern int checkfstab(int, int); 37254885Sdumbbellextern int chkquota(char *, struct quotafile *, struct quotafile *); 38254885Sdumbbell