X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=generator%2Fgenerator.ml;h=6f318ac36f8be1eda20cb440d24695892f21c1a9;hb=2929a0053a56e1d3b0bed26f16a1e1ad83141891;hp=b880b48703e426dcd4317316a5485b4bbde92621;hpb=79d291f8d23263dc97e872705899d35c90368166;p=hivex.git diff --git a/generator/generator.ml b/generator/generator.ml index b880b48..6f318ac 100755 --- a/generator/generator.ml +++ b/generator/generator.ml @@ -229,6 +229,17 @@ string C<\"\"> here. The default key is often written C<\"@\">, but inside hives that has no meaning and won't give you the default key."; + "value_key_len", (RSize, [AHive; AValue "val"]), + "return the length of a value's key", + "\ +Return the length of the key (name) of a (key, value) pair. The +length can legitimately be 0, so errno is the necesary mechanism +to check for errors. + +In the context of Windows Registries, a zero-length name means +that this value is the default key for this node in the tree. +This is usually written as C<\"@\">."; + "value_key", (RString, [AHive; AValue "val"]), "return the key of a (key, value) pair", "\