aboutsummaryrefslogtreecommitdiffstats
path: root/src/ckutil.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-10-04 01:20:13 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-10-04 01:20:13 +0300
commitfa41863b03bbf67a7ad4edad9328b0cdc48e497b (patch)
treee7e4dd5986364c29a3d51ac661ce9b133effc868 /src/ckutil.h
parentbc2899dd69fce0f1868dbfad3394ef8b3dc48069 (diff)
downloadck-fa41863b03bbf67a7ad4edad9328b0cdc48e497b.tar.gz
ck-fa41863b03bbf67a7ad4edad9328b0cdc48e497b.tar.bz2
ck-fa41863b03bbf67a7ad4edad9328b0cdc48e497b.zip
store configs in subfolders and error/logging infrastructure
Diffstat (limited to 'src/ckutil.h')
-rw-r--r--src/ckutil.h3
1 files changed, 3 insertions, 0 deletions
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 */