diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-02-10 22:15:01 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-02-18 18:20:56 +0100 |
commit | a11300221482da7ffe7be2d75d508ddd411814f6 (patch) | |
tree | 009163435be6a2878d026e70439d731a1587a6e9 /src/udev/fido_id/fido_id.c | |
parent | 96fb82aa06f2edef153c0ecb1642783aac1c1c84 (diff) | |
download | systemd-a11300221482da7ffe7be2d75d508ddd411814f6.tar.gz |
sd-device: add sd_device_get_action() + sd_device_get_seqnum() + sd_device_new_from_stat_rdev()
To make sd-device properly usable for all programs we need to provide an
API for the "action" field of an event, it's one of the most relevant
ones, and it was so far missing.
This also adds sd_device_get_seqnum(), which isn't that interesting,
except for generating pretty debug output, which we use it ourselves
for.
This also makes device_new_from_stat_rdev() public, as it is truly
useful, as we can see in our own uses of it, and I think is fairly
generic to show up in the public APIs.
Diffstat (limited to 'src/udev/fido_id/fido_id.c')
-rw-r--r-- | src/udev/fido_id/fido_id.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/udev/fido_id/fido_id.c b/src/udev/fido_id/fido_id.c index f14b81d30d..a9f5f8f8a6 100644 --- a/src/udev/fido_id/fido_id.c +++ b/src/udev/fido_id/fido_id.c @@ -14,7 +14,6 @@ #include <sys/types.h> #include <unistd.h> -#include "device-internal.h" #include "device-private.h" #include "device-util.h" #include "fd-util.h" |