hivex: Split value_key function into value_key and value_key_len
authorAlex Nelson <ajnelson@cs.ucsc.edu>
Fri, 2 Sep 2011 01:17:27 +0000 (18:17 -0700)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 6 Sep 2011 13:58:01 +0000 (14:58 +0100)
commit2929a0053a56e1d3b0bed26f16a1e1ad83141891
treeb32ad01cb42696998fe6fcf939aae9373c94697d
parent79d291f8d23263dc97e872705899d35c90368166
hivex: Split value_key function into value_key and value_key_len

This function breaks the value name calculation out so the name does
not need to be fetched and immediately thrown away when one only needs
the name.

Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
RWMJ fixed hivex_value_key handling of errno.
generator/generator.ml
lib/hivex.c