summaryrefslogtreecommitdiffstats
path: root/generator/generator_structs.ml
diff options
context:
space:
mode:
Diffstat (limited to 'generator/generator_structs.ml')
-rw-r--r--generator/generator_structs.ml8
1 files changed, 8 insertions, 0 deletions
diff --git a/generator/generator_structs.ml b/generator/generator_structs.ml
index 61228a4b..8c862ae3 100644
--- a/generator/generator_structs.ml
+++ b/generator/generator_structs.ml
@@ -212,6 +212,13 @@ let structs = [
"iso_volume_expiration_t", FInt64;
"iso_volume_effective_t", FInt64;
];
+
+ (* /proc/mdstat information. See linux.git/drivers/md/md.c *)
+ "mdstat", [
+ "mdstat_device", FString;
+ "mdstat_index", FInt32;
+ "mdstat_flags", FString;
+ ];
] (* end of structs *)
(* For bindings which want camel case *)
@@ -229,6 +236,7 @@ let camel_structs = [
"partition", "Partition";
"application", "Application";
"isoinfo", "ISOInfo";
+ "mdstat", "MDStat";
]
let camel_structs = List.sort (fun (_,a) (_,b) -> compare a b) camel_structs