summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
new file mode 100644
index 0000000..679f3d3
--- /dev/null
+++ b/src/main.h
@@ -0,0 +1,17 @@
+#ifndef MAIN_H
+#define MAIN_H
+
+#include <stdbool.h>
+#include <sys/stat.h>
+#include <unistd.h>
+
+bool path_exists_boolean(const char *path);
+bool is_readable_boolean(const char *path);
+bool is_writable_boolean(const char *path);
+bool is_executable_boolean(const char *path);
+bool is_directory_boolean(const char *path);
+bool is_rw_boolean(const char *path);
+bool is_rwx_boolean(const char *path);
+bool init_tailscale(void);
+
+#endif