summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2020-12-26 21:59:10 +0300
committerEvgeny Zinoviev <me@ch1p.io>2020-12-26 21:59:10 +0300
commit9ca3a2b64014a8c9caf7a2cceec794241fdf77df (patch)
treedb65ff2f7c6b57d8b83d1146b75bb1cb72d3c039 /utils.h
parent3d39aed74c2156029b1588b40fa1d32268743f8c (diff)
1.3: added -d option
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index cc9f610..e25c4a4 100644
--- a/utils.h
+++ b/utils.h
@@ -20,6 +20,8 @@ bool isdir(const char *s);
bool isexe(const char *s);
bool exists(const char *s);
bool mkfile(const char *s);
+bool startswith(const char *haystack, const char *needle);
+mode_t getmode(const char *s);
int send_fd(int sock, int fd);
int recv_fd(int sock);