xref: /openbmc/qemu/hw/9pfs/9p-local.h (revision ff79d5e9)
1*996a0d76SGreg Kurz /*
2*996a0d76SGreg Kurz  * 9p local backend utilities
3*996a0d76SGreg Kurz  *
4*996a0d76SGreg Kurz  * Copyright IBM, Corp. 2017
5*996a0d76SGreg Kurz  *
6*996a0d76SGreg Kurz  * Authors:
7*996a0d76SGreg Kurz  *  Greg Kurz <groug@kaod.org>
8*996a0d76SGreg Kurz  *
9*996a0d76SGreg Kurz  * This work is licensed under the terms of the GNU GPL, version 2 or later.
10*996a0d76SGreg Kurz  * See the COPYING file in the top-level directory.
11*996a0d76SGreg Kurz  */
12*996a0d76SGreg Kurz 
13*996a0d76SGreg Kurz #ifndef QEMU_9P_LOCAL_H
14*996a0d76SGreg Kurz #define QEMU_9P_LOCAL_H
15*996a0d76SGreg Kurz 
16*996a0d76SGreg Kurz int local_open_nofollow(FsContext *fs_ctx, const char *path, int flags,
17*996a0d76SGreg Kurz                         mode_t mode);
18*996a0d76SGreg Kurz int local_opendir_nofollow(FsContext *fs_ctx, const char *path);
19*996a0d76SGreg Kurz 
20*996a0d76SGreg Kurz #endif
21