TS-1996 Mark the APIs for future removal

Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/2528ac7b
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/2528ac7b
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/2528ac7b

Branch: refs/heads/master
Commit: 2528ac7b78538a9826c04739fe477cedd1694299
Parents: f6efbe9
Author: Leif Hedstrom <[email protected]>
Authored: Wed Jul 17 17:47:40 2013 -0600
Committer: Leif Hedstrom <[email protected]>
Committed: Wed Jul 17 17:47:40 2013 -0600

----------------------------------------------------------------------
 proxy/InkAPI.cc             | 2 ++
 proxy/api/ts/experimental.h | 6 ++++--
 2 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2528ac7b/proxy/InkAPI.cc
----------------------------------------------------------------------
diff --git a/proxy/InkAPI.cc b/proxy/InkAPI.cc
index 03a6d56..cabab42 100644
--- a/proxy/InkAPI.cc
+++ b/proxy/InkAPI.cc
@@ -4876,6 +4876,7 @@ TSHttpTxnCacheLookupUrlGet(TSHttpTxn txnp, TSMBuffer 
bufp, TSMLoc obj)
   return TS_ERROR;
 }
 
+// TS-1996: This API will be removed after v3.4.0 is cut. Do not use it!
 TSReturnCode
 TSHttpTxnNewCacheLookupDo(TSHttpTxn txnp, TSMBuffer bufp, TSMLoc url_loc)
 {
@@ -4929,6 +4930,7 @@ TSHttpTxnNewCacheLookupDo(TSHttpTxn txnp, TSMBuffer bufp, 
TSMLoc url_loc)
   return TS_SUCCESS;
 }
 
+// TS-1996: This API will be removed after v3.4.0 is cut. Do not use it!
 TSReturnCode
 TSHttpTxnSecondUrlTryLock(TSHttpTxn txnp)
 {

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2528ac7b/proxy/api/ts/experimental.h
----------------------------------------------------------------------
diff --git a/proxy/api/ts/experimental.h b/proxy/api/ts/experimental.h
index 08537ae..282bd06 100644
--- a/proxy/api/ts/experimental.h
+++ b/proxy/api/ts/experimental.h
@@ -182,14 +182,16 @@ extern "C"
    *  Return: TS_SUCESS/TS_ERROR
    
****************************************************************************/
   tsapi TSReturnCode TSHttpTxnCacheLookupCountGet(TSHttpTxn txnp, int 
*lookup_count);
-  tsapi TSReturnCode TSHttpTxnNewCacheLookupDo(TSHttpTxn txnp, TSMBuffer bufp, 
TSMLoc url_loc);
-  tsapi TSReturnCode TSHttpTxnSecondUrlTryLock(TSHttpTxn txnp);
   tsapi TSReturnCode TSHttpTxnRedirectRequest(TSHttpTxn txnp, TSMBuffer bufp, 
TSMLoc url_loc);
   tsapi TSReturnCode TSHttpTxnCacheLookupSkip(TSHttpTxn txnp);
   tsapi TSReturnCode TSHttpTxnServerRespIgnore(TSHttpTxn txnp);
   tsapi TSReturnCode TSHttpTxnShutDown(TSHttpTxn txnp, TSEvent event);
   tsapi TSReturnCode TSHttpTxnCloseAfterResponse(TSHttpTxn txnp, int 
should_close);
 
+  // TS-1996: These API swill be removed after v3.4.0 is cut. Do not use them!
+  tsapi TSReturnCode TSHttpTxnNewCacheLookupDo(TSHttpTxn txnp, TSMBuffer bufp, 
TSMLoc url_loc);
+  tsapi TSReturnCode TSHttpTxnSecondUrlTryLock(TSHttpTxn txnp);
+
   /****************************************************************************
    *  ??
    *  Return ??

Reply via email to