summaryrefslogtreecommitdiff
path: root/src/basic/path-util.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-10-02 15:51:27 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-10-08 14:48:41 -0400
commit5a46d55fc8f3dc4a86f3994f96369d169c0b96bb (patch)
tree655e36a64c3a5f0f001708e1ad6a8a26206a813b /src/basic/path-util.h
parent16441027352ba442c6664c03af852606035c4a45 (diff)
path-util: add a function to peek into a container and guess systemd version
This is a bit crude and only works for new systemd versions which have libsystemd-shared.
Diffstat (limited to 'src/basic/path-util.h')
-rw-r--r--src/basic/path-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/path-util.h b/src/basic/path-util.h
index a27c13fcc3..78472f0961 100644
--- a/src/basic/path-util.h
+++ b/src/basic/path-util.h
@@ -125,3 +125,5 @@ char *file_in_same_dir(const char *path, const char *filename);
bool hidden_or_backup_file(const char *filename) _pure_;
bool is_device_path(const char *path);
+
+int systemd_installation_has_version(const char *root, unsigned minimal_version);