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