summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-16 13:21:07 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-16 13:21:07 +0200
commit2e78fa79bbaebb358d2657c397180d2d08d69b12 (patch)
tree4c128734dff3fc78c49c1240c432f55cb62fc203 /src/shared/util.h
parent45c196a76b2d883552c90807386d9bed40da822b (diff)
tmpfiles: add new "L+" command as stronger version of "L", that removes the destination before creating a symlink
Also, make use of this for mtab as long as mount insists on creating it even if we invoke it with "-n".
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 1796014f26..e8552410c0 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -948,3 +948,6 @@ int umount_recursive(const char *target, int flags);
int bind_remount_recursive(const char *prefix, bool ro);
int fflush_and_check(FILE *f);
+
+char *tempfn_xxxxxx(const char *p);
+char *tempfn_random(const char *p);