summaryrefslogtreecommitdiffstats
path: root/src/shared/hwdb-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/hwdb-util.h')
-rw-r--r--src/shared/hwdb-util.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/shared/hwdb-util.h b/src/shared/hwdb-util.h
new file mode 100644
index 0000000..cb93690
--- /dev/null
+++ b/src/shared/hwdb-util.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#pragma once
+
+#include <stdbool.h>
+
+#include "sd-hwdb.h"
+
+bool hwdb_should_reload(sd_hwdb *hwdb);
+int hwdb_update(const char *root, const char *hwdb_bin_dir, bool strict, bool compat);
+int hwdb_query(const char *modalias, const char *root);