diff options
Diffstat (limited to 'src/user/lib/fs/dir.h')
-rw-r--r-- | src/user/lib/fs/dir.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/user/lib/fs/dir.h b/src/user/lib/fs/dir.h index 1a8c7f5..c3bbfe7 100644 --- a/src/user/lib/fs/dir.h +++ b/src/user/lib/fs/dir.h @@ -1,4 +1,5 @@ #pragma once +#include <camellia/types.h> #include <stdbool.h> #include <stddef.h> @@ -11,4 +12,6 @@ struct dirbuild { 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); |