chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add some test script output
[elogind.git]
/
util.h
diff --git
a/util.h
b/util.h
index 3e86b29863e88d12d9f38d5c54d9329add353441..f14751ea5e2d2ea45e93ea248e0c738eaae65550 100644
(file)
--- a/
util.h
+++ b/
util.h
@@
-91,4
+91,12
@@
int read_one_line_file(const char *fn, char **line);
char *strappend(const char *s, const char *suffix);
char *strappend(const char *s, const char *suffix);
+int readlink_malloc(const char *p, char **r);
+
+char *file_name_from_path(const char *p);
+bool is_path(const char *p);
+
+bool path_is_absolute(const char *p);
+char *path_make_absolute(const char *p, const char *prefix);
+
#endif
#endif