summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-02-11 16:21:18 -0500
committerAnthony G. Basile <blueness@gentoo.org>2015-02-11 16:21:58 -0500
commitb39a4a3aba7e8593684b6e44b0780c2439e84d7d (patch)
treee4cdb633a310bae4689a4f44b306e778b974b628 /src/shared/util.h
parent691df3c5c399899a9fd6624f6148883cc20fa18a (diff)
udev: event - move renaming of udev_device to libudev
This is not exposed in the public API. We want to simplify the internal libudev-device API as much as possible so that it will be simpler to rip the whole thing out in the future. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index c5dd6bde0a..9458a1942f 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -275,6 +275,9 @@ int flush_fd(int fd);
int fopen_temporary(const char *path, FILE **_f, char **_temp_path);
ssize_t loop_read(int fd, void *buf, size_t nbytes, bool do_poll);
+
+char* dirname_malloc(const char *path);
+
int chmod_and_chown(const char *path, mode_t mode, uid_t uid, gid_t gid);
bool null_or_empty(struct stat *st) _pure_;