summaryrefslogtreecommitdiffstats
path: root/src/shared/udev-util.h
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2024-01-05 16:11:24 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-01-11 21:12:42 +0100
commit09dd8e77fc7da645e716f34ba7fa38d4666460f6 (patch)
tree15af53f001797d15c599151b97042969f8b53632 /src/shared/udev-util.h
parentudev-util: drop unused function (diff)
downloadsystemd-09dd8e77fc7da645e716f34ba7fa38d4666460f6.tar.xz
systemd-09dd8e77fc7da645e716f34ba7fa38d4666460f6.zip
udev: factor out config parser call into function
... which is then called from both places. This makes sure that the configuration is parsed by udevd and other tools in exactly the same way.
Diffstat (limited to 'src/shared/udev-util.h')
-rw-r--r--src/shared/udev-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/udev-util.h b/src/shared/udev-util.h
index 958acc9382..5f49e87116 100644
--- a/src/shared/udev-util.h
+++ b/src/shared/udev-util.h
@@ -3,9 +3,11 @@
#include "sd-device.h"
+#include "conf-parser.h"
#include "hashmap.h"
#include "time-util.h"
+int udev_parse_config_full(const ConfigTableItem config_table[]);
int udev_parse_config(void);
int device_wait_for_initialization(sd_device *device, const char *subsystem, usec_t timeout_usec, sd_device **ret);