chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
label: move is_dir() to util.c
[elogind.git]
/
src
/
shared
/
util.h
diff --git
a/src/shared/util.h
b/src/shared/util.h
index 21a90a40e5b3e4391d9a9cd9212ebfc2701ee0e7..887cdc4a445413bbfccba6168f1f883ef91c89f3 100644
(file)
--- a/
src/shared/util.h
+++ b/
src/shared/util.h
@@
-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_;