logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

TSMimeHdrFieldFind - TSMimeHdrFieldFind API function

Description

       Retrieves the TSMLoc location of a specified MIME field from within the MIME header located at hdr.

       The  name and length parameters specify which field to retrieve.  For each MIME field in the MIME header,
       a case insensitive string comparison is done between the field name  and  name.  If  TSMimeHdrFieldFind()
       cannot find the requested field, it returns TS_NULL_MLOC.  Release the returned TSMLoc handle with a call
       to TSHandleMLocRelease().

Name

       TSMimeHdrFieldFind - TSMimeHdrFieldFind API function

Synopsis

          #include <ts/ts.h>

       TSMLocTSMimeHdrFieldFind(TSMBufferbufp,TSMLochdr,constchar*name,intlength)

See Also