That's a good suggestion, although shouldn't it be TSReturnCode TSRemapFromUrlGet(TSHttpTxn txnp, TSMBuffer bufp, TSMLoc* obj);
That is the TSMLoc should be an out parameter, not an in. In that case I'd drop the ...StringGet() and use the generic TSUrlStringGet() if a string is needed.