summaryrefslogtreecommitdiffstats
path: root/src/udev/udevadm-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev/udevadm-util.h')
-rw-r--r--src/udev/udevadm-util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/udev/udevadm-util.h b/src/udev/udevadm-util.h
new file mode 100644
index 0000000..59e8902
--- /dev/null
+++ b/src/udev/udevadm-util.h
@@ -0,0 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+#pragma once
+
+#include "sd-device.h"
+
+int find_device(const char *id, const char *prefix, sd_device **ret);