summaryrefslogtreecommitdiff
path: root/src/basic/hash-funcs.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-05-26 16:13:39 +0200
committerLennart Poettering <lennart@poettering.net>2021-05-26 21:44:36 +0200
commit730b9c1e1469dfd6d6850e9ea06da3cac469eba0 (patch)
tree9c518023e82c1352cb51e367f744e61cb66b7a29 /src/basic/hash-funcs.h
parentb485fd932ad37a945569857127b7e929e87e17b2 (diff)
downloadsystemd-730b9c1e1469dfd6d6850e9ea06da3cac469eba0.tar.gz
udevadm: make use of the new uuid-enabled triggering for "udevadm trigger"
This adds two things: - A new switch --uuid is added to "udevadm trigger". If specified a random UUID is associated with the synthettic uevent and it is printed to stdout. It may then be used manually to match up uevents as they propagate through the system. - The UUID logic is now implicitly enabled if "udevadm trigger --settle" is used, in order to wait for precisely the uevents we actually trigger. Fallback support is kept for pre-4.13 kernels (where the requests for trigger uevents with uuids results in EINVAL).
Diffstat (limited to 'src/basic/hash-funcs.h')
-rw-r--r--src/basic/hash-funcs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/hash-funcs.h b/src/basic/hash-funcs.h
index 5672df1da4..023cfdf530 100644
--- a/src/basic/hash-funcs.h
+++ b/src/basic/hash-funcs.h
@@ -82,6 +82,7 @@ extern const struct hash_ops string_hash_ops_free_free;
void path_hash_func(const char *p, struct siphash *state);
extern const struct hash_ops path_hash_ops;
extern const struct hash_ops path_hash_ops_free;
+extern const struct hash_ops path_hash_ops_free_free;
/* This will compare the passed pointers directly, and will not dereference them. This is hence not useful for strings
* or suchlike. */