TSMBufferCreate

    include <ts/ts.h>

    (void)

    TSReturnCode TSMBufferDestroy( bufp)

    The marshal buffer or TSMBuffer is a heap data structure that stores parsed URLs, MIME headers and HTTP headers. You can allocate new objects out of marshal buffers, and change the values within the marshal buffer. Whenever you manipulate an object, you require the handle to the object () and the marshal buffer containing the object (TSMBuffer).

    Any marshal buffer fetched by transaction getters will be used by other parts of the system. Be careful not to destroy these shared, transaction marshal buffers.

    Releases the TSMLoc mloc created from the parent. If a TSMLoc is obtained from a transaction, it does not have a parent . Use the the constant TS_NULL_MLOC as its parent.

    and TSHandleMLocRelease() return on success, or TS_ERROR on failure. returns the new TSMBuffer.