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

TSMimeHdrFieldGet - TSMimeHdrFieldGet API function

Description

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

       The   idx   parameter   specifies   which  field  to  retrieve.   The  fields  are  numbered  from  0  to
       TSMimeHdrFieldsCount(bufp,hdr_loc) - 1.  If idx does not lie within that  range  then  TSMimeHdrFieldGet
       returns 0.  Release the returned handle with a call to TSHandleMLocRelease.

Name

       TSMimeHdrFieldGet - TSMimeHdrFieldGet API function

Synopsis

          #include <ts/ts.h>

       TSMLocTSMimeHdrFieldGet(TSMBufferbufp,TSMLochdr,intidx)

See Also