Previous | Contents | Index |
Remove all header lines of a given type from a header structure.
status = PMDF_delete_header_line (header, type)
Argument Data type Access Mechanism header header pointer read value type signed longword read value
status = PMDFdeleteHeaderLine (header, type)
int PMDFdeleteHeaderLine(PMDF_hdr *header, int type)
header
Address of a header structure previously created byPMDFreadHeader
orPMDFaddHeaderLine
.type
The type of header line being removed.
PMDFdeleteHeaderLine
removes all header lines of the type type from the header structure pointed at by header. That is, the linked list
will be disposed of. The type argument specifies the type of header lines to be removed (e.g., HL_FROM, HL_TO, HL_DATE, etc.). The accepted types are defined in the API include files; see Section 1.6 for further details. Specify HL_OTHER for a header line type not recognized by the API.
header[type]
PMDF__OK Normal, successful completion. PMDF__HEANOTKNW Unknown header line type. No header lines removed. Recall PMDFdeleteHeaderLine
specifying HL_OTHER for the header line type.
Previous | Next | Contents | Index |