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

TSMimeHdrFieldRemove - TSMimeHdrFieldRemove API function

Description

       Removes the MIME field located at field within bufp from the header located at hdr within bufp.

       If  the  specified field cannot be found in the list of fields associated with the header then nothing is
       done.

       NOTE:
          Removing the field does not destroy the field. It only detaches the field, hiding it from the  printed
          output.  The  field  can  be  reattached with a call to TSMimeHdrFieldAppend().  If you do not use the
          detached field you should destroy it with a call to TSMimeHdrFieldDestroy()  and  release  the  handle
          field with a call to TSHandleMLocRelease().

Name

       TSMimeHdrFieldRemove - TSMimeHdrFieldRemove API function

Synopsis

          #include <ts/ts.h>

       TSReturnCodeTSMimeHdrFieldRemove(TSMBufferbufp,TSMLochdr,TSMLocfield)

See Also