Table of Contents

hfzHeader_Reset

Description

Reset the contents of a hfzHeader struct and release any allocated memory.

Function prototype

void hfzHeader_Reset(hfzHeader &fh); // clears mem in ext header buf and restores defaults

Arguments

Name Type Description
fh hfzHeader& The hfzHeader struct to be reset.

Return value

None (void).

Comments

It is recommended this function be called after using hfzReadHeader or hfzReadHeader2 (once the header is no longer needed), as both of these functions may allocate memory in the header struct.