quotacheck.h revision 296373
1181834Sroberto/* 2181834Sroberto * Copyright (c) 1980, 1990, 1993 3181834Sroberto * The Regents of the University of California. All rights reserved. 4181834Sroberto * 5181834Sroberto * This code is derived from software contributed to Berkeley by 6181834Sroberto * Robert Elz at The University of Melbourne. 7181834Sroberto * 8181834Sroberto * Redistribution and use in source and binary forms, with or without 9181834Sroberto * modification, are permitted provided that the following conditions 10181834Sroberto * are met: 11181834Sroberto * 1. Redistributions of source code must retain the above copyright 12181834Sroberto * notice, this list of conditions and the following disclaimer. 13181834Sroberto * 2. Redistributions in binary form must reproduce the above copyright 14181834Sroberto * notice, this list of conditions and the following disclaimer in the 15181834Sroberto * documentation and/or other materials provided with the distribution. 16181834Sroberto * 4. Neither the name of the University nor the names of its contributors 17181834Sroberto * may be used to endorse or promote products derived from this software 18181834Sroberto * without specific prior written permission. 19181834Sroberto * 20181834Sroberto * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 21181834Sroberto * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22181834Sroberto * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23181834Sroberto * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 24181834Sroberto * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25181834Sroberto * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26181834Sroberto * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27181834Sroberto * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28181834Sroberto * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29181834Sroberto * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30181834Sroberto * SUCH DAMAGE. 31181834Sroberto * 32181834Sroberto * $FreeBSD: releng/10.3/sbin/quotacheck/quotacheck.h 207736 2010-05-07 00:41:12Z mckusick $ 33181834Sroberto */ 34181834Sroberto 35285612Sdelphijextern char *blockcheck(char *); 36181834Srobertoextern int checkfstab(int, int); 37285612Sdelphijextern int chkquota(char *, struct quotafile *, struct quotafile *); 38285612Sdelphij