chiark / gitweb /
label: move is_dir() to util.c
[elogind.git] / src / shared / util.h
index 21a90a40e5b3e4391d9a9cd9212ebfc2701ee0e7..887cdc4a445413bbfccba6168f1f883ef91c89f3 100644 (file)
@@ -991,6 +991,7 @@ bool is_localhost(const char *hostname);
 int take_password_lock(const char *root);
 
 int is_symlink(const char *path);
+int is_dir(const char *path, bool follow);
 
 int unquote_first_word(const char **p, char **ret);
 int unquote_many_words(const char **p, ...) _sentinel_;