summaryrefslogtreecommitdiffstats
path: root/generator/generator.ml
diff options
context:
space:
mode:
Diffstat (limited to 'generator/generator.ml')
-rwxr-xr-xgenerator/generator.ml12
1 files changed, 12 insertions, 0 deletions
diff --git a/generator/generator.ml b/generator/generator.ml
index 6f318ac..b6fb8b3 100755
--- a/generator/generator.ml
+++ b/generator/generator.ml
@@ -262,6 +262,18 @@ information, and the value itself. Also, C<hivex_value_*> functions
below which can be used to return the value in a more useful form when
you know the type in advance.";
+ "node_struct_length", (RSize, [AHive; ANode "node"]),
+ "return the length of a node",
+ "\
+Return the length of the node data structure. Returns 0
+and sets errno on error.";
+
+ "value_struct_length", (RSize, [AHive; AValue "val"]),
+ "return the length of a value data structure",
+ "\
+Return the length of the value data structure. Returns 0
+and sets errno on error.";
+
"value_value", (RLenTypeVal, [AHive; AValue "val"]),
"return data length, data type and data of a value",
"\