Update the deprecation comments
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/b639e725 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/b639e725 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/b639e725 Branch: refs/heads/5.0.x Commit: b639e7250972214587d14b52cf59da0e15a88ba2 Parents: 6d6b5a8 Author: Leif Hedstrom <[email protected]> Authored: Thu Apr 10 15:19:44 2014 -0600 Committer: Leif Hedstrom <[email protected]> Committed: Thu Apr 10 15:19:44 2014 -0600 ---------------------------------------------------------------------- proxy/api/ts/ts.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/b639e725/proxy/api/ts/ts.h ---------------------------------------------------------------------- diff --git a/proxy/api/ts/ts.h b/proxy/api/ts/ts.h index 8c787b1..3dce82f 100644 --- a/proxy/api/ts/ts.h +++ b/proxy/api/ts/ts.h @@ -309,7 +309,7 @@ extern "C" */ /** @deprecated There is no reason to destroy the URL, just release - the marshal buffers. */ + the marshal buffers. Should be removed for v5.0.0 */ tsapi TS_DEPRECATED TSReturnCode TSUrlDestroy(TSMBuffer bufp, TSMLoc offset); /** @@ -2256,6 +2256,7 @@ extern "C" @param url_len the length of the URL */ tsapi void TSHttpTxnRedirectUrlSet(TSHttpTxn txnp, const char* url, const int url_len); + // This is deprecated as of v5.0.0. tsapi TS_DEPRECATED void TSRedirectUrlSet(TSHttpTxn txnp, const char* url, const int url_len); /** @@ -2268,6 +2269,7 @@ extern "C" @return the url string */ tsapi const char* TSHttpTxnRedirectUrlGet(TSHttpTxn txnp, int* url_len_ptr); + // This is deprecated as of v5.0.0. tsapi TS_DEPRECATED const char* TSRedirectUrlGet(TSHttpTxn txnp, int* url_len_ptr); /**
