1*99fed726Spooka /* $NetBSD: mountprog.h,v 1.1 2008/08/05 20:57:45 pooka Exp $ */ 2*99fed726Spooka 3*99fed726Spooka /*- 4*99fed726Spooka * Copyright (c) 2000, 2008 The NetBSD Foundation, Inc. 5*99fed726Spooka * All rights reserved. 6*99fed726Spooka * 7*99fed726Spooka * Redistribution and use in source and binary forms, with or without 8*99fed726Spooka * modification, are permitted provided that the following conditions 9*99fed726Spooka * are met: 10*99fed726Spooka * 1. Redistributions of source code must retain the above copyright 11*99fed726Spooka * notice, this list of conditions and the following disclaimer. 12*99fed726Spooka * 2. Redistributions in binary form must reproduce the above copyright 13*99fed726Spooka * notice, this list of conditions and the following disclaimer in the 14*99fed726Spooka * documentation and/or other materials provided with the distribution. 15*99fed726Spooka * 16*99fed726Spooka * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 17*99fed726Spooka * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 18*99fed726Spooka * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 19*99fed726Spooka * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 20*99fed726Spooka * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21*99fed726Spooka * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22*99fed726Spooka * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 23*99fed726Spooka * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24*99fed726Spooka * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25*99fed726Spooka * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26*99fed726Spooka * POSSIBILITY OF SUCH DAMAGE. 27*99fed726Spooka */ 28*99fed726Spooka 29*99fed726Spooka int a_num(const char *, const char *); 30*99fed726Spooka gid_t a_gid(const char *); 31*99fed726Spooka uid_t a_uid(const char *); 32*99fed726Spooka mode_t a_mask(const char *); 33*99fed726Spooka 34*99fed726Spooka int checkvfsname(const char *, const char **); 35*99fed726Spooka const char ** makevfslist(const char *); 36*99fed726Spooka 37*99fed726Spooka void pathadj(const char *, char *); 38