diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-10-07 14:56:09 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-10-07 14:59:03 +0200 |
commit | 145dfce5f04a3a74a49cc016f15b0aa6d9996662 (patch) | |
tree | 919357d5a18934222741732c8444db7711421aa3 /include/util.h | |
parent | 7e1be3986b3b8229f0162431b6e02c24e04a5dba (diff) |
Cleanup: move directory handling code to libcommon
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/util.h')
-rw-r--r-- | include/util.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/util.h b/include/util.h index 9ed2189..a9cfffd 100644 --- a/include/util.h +++ b/include/util.h @@ -59,27 +59,6 @@ SQFS_INTERNAL void print_version(void); /* - A wrapper around mkdir() that behaves like 'mkdir -p'. It tries to create - every component of the given path and skips already existing entries. - - Returns 0 on success. -*/ -SQFS_INTERNAL -int mkdir_p(const char *path); - -/* Returns 0 on success. On failure, prints error message to stderr. */ -SQFS_INTERNAL -int pushd(const char *path); - -/* Same as pushd, but the string doesn't have to be null-terminated. */ -SQFS_INTERNAL -int pushdn(const char *path, size_t len); - -/* Returns 0 on success. On failure, prints error message to stderr. */ -SQFS_INTERNAL -int popd(void); - -/* Helper for allocating data structures with flexible array members. 'base_size' is the size of the struct itself, 'item_size' the size of a |