summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_fs.h')
-rw-r--r--src/nxt_fs.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/nxt_fs.h b/src/nxt_fs.h
index af9585b8..c8868d80 100644
--- a/src/nxt_fs.h
+++ b/src/nxt_fs.h
@@ -6,40 +6,8 @@
#define _NXT_FS_H_INCLUDED_
-typedef enum {
- NXT_FS_UNKNOWN = 0,
- NXT_FS_BIND,
- NXT_FS_TMP,
- NXT_FS_PROC,
- NXT_FS_LAST,
-} nxt_fs_type_t;
-
-
-typedef enum {
- NXT_FS_FLAGS_NOSUID = 1 << 0,
- NXT_FS_FLAGS_NOEXEC = 1 << 1,
- NXT_FS_FLAGS_NOTIME = 1 << 2,
- NXT_FS_FLAGS_NODEV = 1 << 3,
- NXT_FS_FLAGS_RDONLY = 1 << 4,
-} nxt_fs_flags_t;
-
-
-typedef struct {
- u_char *src;
- u_char *dst;
- nxt_fs_type_t type;
- u_char *name;
- nxt_fs_flags_t flags;
- u_char *data;
- nxt_uint_t builtin; /* 1-bit */
- nxt_uint_t deps; /* 1-bit */
-} nxt_fs_mount_t;
-
-
nxt_int_t nxt_fs_mkdir_parent(const u_char *path, mode_t mode);
nxt_int_t nxt_fs_mkdir_all(const u_char *dir, mode_t mode);
-nxt_int_t nxt_fs_mount(nxt_task_t *task, nxt_fs_mount_t *mnt);
-void nxt_fs_unmount(const u_char *path);
#endif /* _NXT_FS_H_INCLUDED_ */