From f6bc1ccf2462642383d1644321a101e62105c2a7 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 25 Dec 2022 21:47:23 +0100 Subject: user/lib: reorganize a few header files --- src/user/lib/fs/dir.h | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/user/lib/fs/dir.h (limited to 'src/user/lib/fs/dir.h') 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 -#include -#include - -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); -- cgit v1.2.3