eant_AntHeaderRead

Go Back

Summary:
  Read the contents of an Eant_AntHeader structure from a file.

Header File:
  eant.h

Library Name:
  elib

Eant_AntHeader*    eant_AntHeaderRead  (
    Eant_FileIO*    fileIO,
    char*    layername,
    Eant_AntHeader*    antHeader,
    Eerr_ErrorReport**    lclerr,
  )
antHeader
    The input annotation header.
fileIO
    Specifies the annotation file IO data.
layername
    The ehfa tree path of the annotation node.
lclerr
    Error handling structure pointer.

Description:
  Read the contents of an Eant_AntHeader structure from a Rev. 8 file and return a pointer to the data read. If antHeader is NULL, the Eant_AntHeader is created.

Notes:
  None.

Return Description:
  Upon success this function returns a pointer to Eant_AntHeader structure. If an error occurs, eant_AntHeaderRead calls eerr_CreateErrorReport and returns a NULL.