TSMimeHdrCopy¶
Copies the contents of the MIME header located at src_loc within src_bufp to the MIME header located at dest_loc within dest_bufp.
Synopsis¶
#include <ts/ts.h>
- TSReturnCode TSMimeHdrCopy(TSMBuffer dest_bufp, TSMLoc dest_offset, TSMBuffer src_bufp, TSMLoc src_offset) InkAPI.cc line 2457¶
Description¶
TSMimeHdrCopy() works correctly even if src_bufp and dest_bufp point to different marshal buffers.
Important
you must create the destination MIME header before copying into it–use TSMimeHdrCreate().