Updated Branches: refs/heads/master cb63bbdc6 -> e34608385
TS-1271: Deprecate INKStat API Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/e3460838 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/e3460838 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/e3460838 Branch: refs/heads/master Commit: e34608385ca1f12107fff5f7385df14e8d2bd0f8 Parents: cb63bbd Author: James Peach <[email protected]> Authored: Thu May 10 20:23:19 2012 -0700 Committer: James Peach <[email protected]> Committed: Thu May 24 20:52:37 2012 -0700 ---------------------------------------------------------------------- CHANGES | 2 ++ proxy/api/ts/ts.h.in | 30 +++++++++++++++--------------- 2 files changed, 17 insertions(+), 15 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/e3460838/CHANGES ---------------------------------------------------------------------- diff --git a/CHANGES b/CHANGES index 70f67cf..652bb64 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,7 @@ -*- coding: utf-8 -*- Changes with Apache Traffic Server 3.1.4 + *) [TS-1271] deprecate INKStats API + *) [TS-1250] Cache inspector does not seem to work properly *) [TS-1269] Building outside source tree fails on plugins. http://git-wip-us.apache.org/repos/asf/trafficserver/blob/e3460838/proxy/api/ts/ts.h.in ---------------------------------------------------------------------- diff --git a/proxy/api/ts/ts.h.in b/proxy/api/ts/ts.h.in index 0c5dce8..2991fcf 100644 --- a/proxy/api/ts/ts.h.in +++ b/proxy/api/ts/ts.h.in @@ -2870,38 +2870,38 @@ extern "C" /* -------------------------------------------------------------------------- uncoupled stats */ /** @deprecated */ - tsapi INKStat INKStatCreate(const char* the_name, INKStatTypes the_type); + tsapi TS_DEPRECATED INKStat INKStatCreate(const char* the_name, INKStatTypes the_type); /** @deprecated */ - tsapi void INKStatIntAddTo(INKStat the_stat, int64_t amount); + tsapi TS_DEPRECATED void INKStatIntAddTo(INKStat the_stat, int64_t amount); /** @deprecated */ - tsapi void INKStatFloatAddTo(INKStat the_stat, float amount); + tsapi TS_DEPRECATED void INKStatFloatAddTo(INKStat the_stat, float amount); /** @deprecated */ - tsapi void INKStatDecrement(INKStat the_stat); + tsapi TS_DEPRECATED void INKStatDecrement(INKStat the_stat); /** @deprecated */ - tsapi void INKStatIncrement(INKStat the_stat); + tsapi TS_DEPRECATED void INKStatIncrement(INKStat the_stat); /** @deprecated */ - tsapi int64_t INKStatIntGet(INKStat the_stat); + tsapi TS_DEPRECATED int64_t INKStatIntGet(INKStat the_stat); /** @deprecated */ - tsapi float INKStatFloatGet(INKStat the_stat); + tsapi TS_DEPRECATED float INKStatFloatGet(INKStat the_stat); /** @deprecated */ - tsapi void INKStatIntSet(INKStat the_stat, int64_t value); + tsapi TS_DEPRECATED void INKStatIntSet(INKStat the_stat, int64_t value); /** @deprecated */ - tsapi void INKStatFloatSet(INKStat the_stat, float value); + tsapi TS_DEPRECATED void INKStatFloatSet(INKStat the_stat, float value); /* -------------------------------------------------------------------------- coupled stats */ /** @deprecated */ - tsapi INKCoupledStat INKStatCoupledGlobalCategoryCreate(const char* the_name); + tsapi TS_DEPRECATED INKCoupledStat INKStatCoupledGlobalCategoryCreate(const char* the_name); /** @deprecated */ - tsapi INKCoupledStat INKStatCoupledLocalCopyCreate(const char* the_name, INKCoupledStat global_copy); + tsapi TS_DEPRECATED INKCoupledStat INKStatCoupledLocalCopyCreate(const char* the_name, INKCoupledStat global_copy); /** @deprecated */ - tsapi void INKStatCoupledLocalCopyDestroy(INKCoupledStat local_copy); + tsapi TS_DEPRECATED void INKStatCoupledLocalCopyDestroy(INKCoupledStat local_copy); /** @deprecated */ - tsapi INKStat INKStatCoupledGlobalAdd(INKCoupledStat global_copy, const char* the_name, INKStatTypes the_type); + tsapi TS_DEPRECATED INKStat INKStatCoupledGlobalAdd(INKCoupledStat global_copy, const char* the_name, INKStatTypes the_type); /** @deprecated */ - tsapi INKStat INKStatCoupledLocalAdd(INKCoupledStat local_copy, const char* the_name, INKStatTypes the_type); + tsapi TS_DEPRECATED INKStat INKStatCoupledLocalAdd(INKCoupledStat local_copy, const char* the_name, INKStatTypes the_type); /** @deprecated */ - tsapi void INKStatsCoupledUpdate(INKCoupledStat local_copy); + tsapi TS_DEPRECATED void INKStatsCoupledUpdate(INKCoupledStat local_copy); /* -------------------------------------------------------------------------- tracing api */
