From fa41863b03bbf67a7ad4edad9328b0cdc48e497b Mon Sep 17 00:00:00 2001 From: gramanas Date: Thu, 4 Oct 2018 01:20:13 +0300 Subject: store configs in subfolders and error/logging infrastructure --- src/ckutil.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ckutil.h') diff --git a/src/ckutil.h b/src/ckutil.h index 56b9cd9..a16a5de 100644 --- a/src/ckutil.h +++ b/src/ckutil.h @@ -74,6 +74,9 @@ extern int util_file_exists(const char *path, char *absPath); * else returns 0. */ extern int util_is_file_rw(const char *path); +/* Returns 1 if file is link 0 otherwise */ +extern int util_is_file_link(const char *path); + extern void util_replace_slash_with_uscore(char *s); /* Wrapper around mkdir with 0775 permissions */ -- cgit v1.2.3