TSMimeHdrParse - TSMimeHdrParse API function
Contents
Copyright
2025, dev@trafficserver.apache.org
9.2 May 22, 2025 TSMIMEHDRPARSE(3ts)
Description
Parses a MIME header.
The MIME header must have already been allocated and both bufp and hdr_loc must point within that header.
It is possible to parse a MIME header a single byte at a time using repeated calls to TSMimeHdrParse().
As long as an error does not occur, TSMimeHdrParse() consumes each single byte and asks for more.
Name
TSMimeHdrParse - TSMimeHdrParse API function
Synopsis
#include <ts/ts.h>
TSParseResultTSMimeHdrParse(TSMimeParserparser,TSMBufferbufp,TSMLocoffset,constchar**start,constchar*end)