1*9f988b79SJean-Baptiste Boric /* $NetBSD: msdos.h,v 1.2 2013/01/26 00:31:49 christos Exp $ */ 2*9f988b79SJean-Baptiste Boric 3*9f988b79SJean-Baptiste Boric /*- 4*9f988b79SJean-Baptiste Boric * Copyright (c) 2013 The NetBSD Foundation, Inc. 5*9f988b79SJean-Baptiste Boric * All rights reserved. 6*9f988b79SJean-Baptiste Boric * 7*9f988b79SJean-Baptiste Boric * This code is derived from software contributed to The NetBSD Foundation 8*9f988b79SJean-Baptiste Boric * by Christos Zoulas. 9*9f988b79SJean-Baptiste Boric * 10*9f988b79SJean-Baptiste Boric * Redistribution and use in source and binary forms, with or without 11*9f988b79SJean-Baptiste Boric * modification, are permitted provided that the following conditions 12*9f988b79SJean-Baptiste Boric * are met: 13*9f988b79SJean-Baptiste Boric * 1. Redistributions of source code must retain the above copyright 14*9f988b79SJean-Baptiste Boric * notice, this list of conditions and the following disclaimer. 15*9f988b79SJean-Baptiste Boric * 2. Redistributions in binary form must reproduce the above copyright 16*9f988b79SJean-Baptiste Boric * notice, this list of conditions and the following disclaimer in the 17*9f988b79SJean-Baptiste Boric * documentation and/or other materials provided with the distribution. 18*9f988b79SJean-Baptiste Boric * 3. Neither the name of The NetBSD Foundation nor the names of its 19*9f988b79SJean-Baptiste Boric * contributors may be used to endorse or promote products derived 20*9f988b79SJean-Baptiste Boric * from this software without specific prior written permission. 21*9f988b79SJean-Baptiste Boric * 22*9f988b79SJean-Baptiste Boric * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 23*9f988b79SJean-Baptiste Boric * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 24*9f988b79SJean-Baptiste Boric * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 25*9f988b79SJean-Baptiste Boric * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 26*9f988b79SJean-Baptiste Boric * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 27*9f988b79SJean-Baptiste Boric * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 28*9f988b79SJean-Baptiste Boric * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 29*9f988b79SJean-Baptiste Boric * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 30*9f988b79SJean-Baptiste Boric * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 31*9f988b79SJean-Baptiste Boric * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 32*9f988b79SJean-Baptiste Boric * POSSIBILITY OF SUCH DAMAGE. 33*9f988b79SJean-Baptiste Boric */ 34*9f988b79SJean-Baptiste Boric 35*9f988b79SJean-Baptiste Boric struct vnode; 36*9f988b79SJean-Baptiste Boric struct denode; 37*9f988b79SJean-Baptiste Boric 38*9f988b79SJean-Baptiste Boric struct msdosfsmount *msdosfs_mount(struct vnode *, int); 39*9f988b79SJean-Baptiste Boric int msdosfs_root(struct msdosfsmount *, struct vnode *); 40*9f988b79SJean-Baptiste Boric 41*9f988b79SJean-Baptiste Boric struct denode *msdosfs_mkfile(const char *, struct denode *, fsnode *); 42*9f988b79SJean-Baptiste Boric struct denode *msdosfs_mkdire(const char *, struct denode *, fsnode *); 43