Added Italian, updated Polish PO files.
[virt-mem.git] / extract / codegen / pahole_parser.mli
index 9c335a7..1bbd701 100644 (file)
@@ -32,6 +32,8 @@ type pathname = string
   (** Path and filenames. *)
 
 type info = {
+  kv_i : int;                         (** Each kernel is given a unique
+                                          number. *)
   kernel_version : string;            (** Kernel version that this matches. *)
   arch : string;                      (** Architecture, eg. "i686", "ppc64". *)
   basename : string;                  (** [basename.info] is the info
@@ -123,9 +125,14 @@ val transpose : string list ->
       The first parameter is the list of structure names of interest,
       and should be the same as was passed to {!load_structures}. *)
 
-val get_fields : (info * structure) list -> (string * f_type) list
+val get_fields : (info * structure) list -> (string * (f_type * bool)) list
   (** This gets a complete list of fields which have appeared in
-      any kernel version, and the type of those fields.
+      any kernel version.
+
+      The return list contains [(field_name, (field_type,
+      always_present))] where [always_present] is a boolean flag which
+      is true if the field is present in every kernel version we
+      examined.
 
       Fields must not change type between kernel versions - if
       so this function prints an error and exits. (We may support