aboutsummaryrefslogtreecommitdiff
path: root/gmid.h
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-01-21 22:45:49 +0000
committerOmar Polo <op@omarpolo.com>2021-01-21 22:45:49 +0000
commitf77a8c867ecc2881d60345b9e1b1ee4259189e9a (patch)
treefdd617aa20d78f7abecd5b8647aff381f8ecb5da /gmid.h
parentd1ca3911d29c9fb2147695b6622d9a088041a534 (diff)
add ends_with
Diffstat (limited to 'gmid.h')
-rw-r--r--gmid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gmid.h b/gmid.h
index e647002..488ade6 100644
--- a/gmid.h
+++ b/gmid.h
@@ -150,6 +150,7 @@ void log_request(struct client*, char*, size_t);
void sig_handler(int);
int starts_with(const char*, const char*);
+int ends_with(const char*, const char*);
ssize_t filesize(int);
char *absolutify_path(const char*);
void yyerror(const char*);