summaryrefslogtreecommitdiff
path: root/src/lib/fs/files.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/fs/files.h')
-rw-r--r--src/lib/fs/files.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/fs/files.h b/src/lib/fs/files.h
index 62b79c4cd8..f0178e2b5b 100644
--- a/src/lib/fs/files.h
+++ b/src/lib/fs/files.h
@@ -55,6 +55,8 @@ MOCK_DECL(int,tor_unlink,(const char *pathname));
typedef enum { FN_ERROR, FN_NOENT, FN_FILE, FN_DIR, FN_EMPTY } file_status_t;
file_status_t file_status(const char *filename);
+bool is_file(file_status_t file_type);
+bool is_dir(file_status_t file_type);
int64_t tor_get_avail_disk_space(const char *path);