aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-07-10 23:49:13 +0200
committerFederico Angelilli <code@fedang.net>2024-07-10 23:49:13 +0200
commit26aaffc0e7293e4d4e48362159572e205c082068 (patch)
treecbc55034ab2c6756ee633da1c171209c0535ea81 /src/util.h
parent6f7c05c10766be1e331a5668ef534f5e85cecace (diff)
Finish config reader
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 5e661a3..06258e1 100644
--- a/src/util.h
+++ b/src/util.h
@@ -20,4 +20,8 @@ bool check_circle(int px, int py, int x, int y, int r);
// Check if point (px, py) is inside a capsule in (x, y), (x+w, y), (x, y+h) and (w+h, y+h)
bool check_capsule(int px, int py, int x, int y, int w, int h);
+char *strslice(const char *string, size_t start, size_t end);
+
+char *strcopy(const char *string);
+
#endif