summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-hwdb/hwdb-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd/sd-hwdb/hwdb-internal.h')
-rw-r--r--src/libsystemd/sd-hwdb/hwdb-internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libsystemd/sd-hwdb/hwdb-internal.h b/src/libsystemd/sd-hwdb/hwdb-internal.h
index 8ffb5e5c74..4fff94ec76 100644
--- a/src/libsystemd/sd-hwdb/hwdb-internal.h
+++ b/src/libsystemd/sd-hwdb/hwdb-internal.h
@@ -70,3 +70,11 @@ struct trie_value_entry_f {
le64_t key_off;
le64_t value_off;
} _packed_;
+
+/* v2 extends v1 with filename and line-number */
+struct trie_value_entry2_f {
+ le64_t key_off;
+ le64_t value_off;
+ le64_t filename_off;
+ le64_t line_number;
+} _packed_;