TSUrlHostSet

    TSReturnCode ( bufp, TSMLoc offset, const char * value, int length)

    TSUrlSchemeSet(TSMBuffer bufp, offset, const char * value, int length)

    TSReturnCode TSUrlUserSet( bufp, TSMLoc offset, const char * value, int length)

    TSUrlPasswordSet(TSMBuffer bufp, offset, const char * value, int length)

    TSReturnCode TSUrlPathSet( bufp, TSMLoc offset, const char * value, int length)

    TSUrlHttpQuerySet(TSMBuffer bufp, offset, const char * value, int length)

    TSReturnCode ( bufp, TSMLoc offset, const char * value, int length)

    TSUrlHttpFragmentSet(TSMBuffer bufp, offset, const char * value, int length)

    TSUrlSchemeSet(), , TSUrlPasswordSet(), , TSUrlHttpParamsSet(), and TSUrlHttpFragmentSet() each set the specified portion of the URL located at offset within the marshal buffer bufp to the string value. If length is -1 then these functions assume that value is NULL-terminated. Otherwise, the length of the string value is taken to be the value of length. These functions copy the string to within bufp, so it can be subsequently modified or deleted.

    sets the port number portion of the URL located at offset within the marshal buffer bufp to the value port. Normal canonicalization based on the URL scheme still applies.

    All these APIs returns a TSReturnCode, indicating success () or failure (TS_ERROR) of the operation.

    TSAPI(3ts), TSUrlCreate(3ts), TSUrlHostGet(3ts), TSUrlStringGet(3ts), TSUrlPercentEncode(3ts)