Allow setting an empty base directory. FTP server like tnftpd do not
[netbsd-mini2440.git] / sys / fs / efs / efs_genfs.h
blob88e5824697c25a0c86acbcd37e8f1aa160805f3f
1 /* $NetBSD$ */
3 /*
4 * Copyright (c) 2006 Stephen M. Rumble <rumble@ephemeral.org>
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 #ifndef _FS_EFS_EFS_GENFS_H_
20 #define _FS_EFS_EFS_GENFS_H_
22 extern const struct genfs_ops efs_genfsops;
24 extern int efs_gop_alloc(struct vnode *, off_t, off_t, int, kauth_cred_t);
26 #endif /* !_FS_EFS_EFS_GENFS_H_*/