summaryrefslogtreecommitdiff
path: root/src/user/lib/fs/dir.h
diff options
context:
space:
mode:
authordzwdz2022-12-25 21:47:23 +0100
committerdzwdz2022-12-25 21:47:23 +0100
commitf6bc1ccf2462642383d1644321a101e62105c2a7 (patch)
tree98b78da8a9f155adaaffdb92235572c222c97371 /src/user/lib/fs/dir.h
parentfb6f520e0b65c08d0c01eee75e5216540786ac6b (diff)
user/lib: reorganize a few header files
Diffstat (limited to 'src/user/lib/fs/dir.h')
-rw-r--r--src/user/lib/fs/dir.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/user/lib/fs/dir.h b/src/user/lib/fs/dir.h
deleted file mode 100644
index c3bbfe7..0000000
--- a/src/user/lib/fs/dir.h
+++ /dev/null
@@ -1,17 +0,0 @@
-#pragma once
-#include <camellia/types.h>
-#include <stdbool.h>
-#include <stddef.h>
-
-struct dirbuild {
- long offset;
- char *buf;
- long bpos, blen;
- long error;
-};
-
-void dir_start(struct dirbuild *db, long offset, char *buf, size_t buflen);
-bool dir_append(struct dirbuild *db, const char *name);
-bool dir_appendl(struct dirbuild *db, const char *name, size_t len);
-bool dir_append_from(struct dirbuild *db, handle_t h);
-long dir_finish(struct dirbuild *db);