Repository: trafficserver Updated Branches: refs/heads/master e0ab07f58 -> 02ad63baf
[TS-3881] update docs for the API name change. Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/02ad63ba Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/02ad63ba Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/02ad63ba Branch: refs/heads/master Commit: 02ad63baf07a3e5bd26b310fd359568f925c0cd9 Parents: e0ab07f Author: Sudheer Vinukonda <[email protected]> Authored: Wed Sep 16 15:19:27 2015 +0000 Committer: Sudheer Vinukonda <[email protected]> Committed: Wed Sep 16 15:19:27 2015 +0000 ---------------------------------------------------------------------- doc/reference/api/TSHttpTxnInfoGet.en.rst | 32 --------------------- doc/reference/api/TSHttpTxnInfoIntGet.en.rst | 35 +++++++++++++++++++++++ 2 files changed, 35 insertions(+), 32 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/02ad63ba/doc/reference/api/TSHttpTxnInfoGet.en.rst ---------------------------------------------------------------------- diff --git a/doc/reference/api/TSHttpTxnInfoGet.en.rst b/doc/reference/api/TSHttpTxnInfoGet.en.rst deleted file mode 100644 index 2f59970..0000000 --- a/doc/reference/api/TSHttpTxnInfoGet.en.rst +++ /dev/null @@ -1,32 +0,0 @@ -.. Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed - with this work for additional information regarding copyright - ownership. The ASF licenses this file to you under the Apache - License, Version 2.0 (the "License"); you may not use this file - except in compliance with the License. You may obtain a copy of - the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied. See the License for the specific language governing - permissions and limitations under the License. - - -TSHttpTxnInfoGet -================ - -Synopsis --------- - -`#include <ts/ts.h>` - -.. c:function:: TSReturnCode TSHttpTxnInfoGet(TSHttpTxn txnp, TSHttpTxnInfoKey key, TSMgmtInt *value) - - -Description ------------ -Get Arbitrary Txn info such as cache lookup details etc as defined in TSHttpTxnInfoKey. -Returns TS_SUCCESS if the requested info is supported, TS_ERROR otherwise. http://git-wip-us.apache.org/repos/asf/trafficserver/blob/02ad63ba/doc/reference/api/TSHttpTxnInfoIntGet.en.rst ---------------------------------------------------------------------- diff --git a/doc/reference/api/TSHttpTxnInfoIntGet.en.rst b/doc/reference/api/TSHttpTxnInfoIntGet.en.rst new file mode 100644 index 0000000..9994a75 --- /dev/null +++ b/doc/reference/api/TSHttpTxnInfoIntGet.en.rst @@ -0,0 +1,35 @@ +.. Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed + with this work for additional information regarding copyright + ownership. The ASF licenses this file to you under the Apache + License, Version 2.0 (the "License"); you may not use this file + except in compliance with the License. You may obtain a copy of + the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied. See the License for the specific language governing + permissions and limitations under the License. + + +TSHttpTxnInfoIntGet +=================== + +Synopsis +-------- + +`#include <ts/ts.h>` + +.. c:function:: TSReturnCode TSHttpTxnInfoIntGet(TSHttpTxn txnp, TSHttpTxnInfoKey key, TSMgmtInt *value) + + +Description +----------- +Get Arbitrary Txn info such as cache lookup details etc as defined in TSHttpTxnInfoKey. +Returns TS_SUCCESS if the requested info is supported, TS_ERROR otherwise. + +The API works on multiple hooks depending on the requested info. For example, cache related info +may be available only at or after CACHE_LOOKUP_COMPLETE hook.
