You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2013/04/24 22:00:35 UTC

git commit: TS-986 ts/experimental has a dependency on netinet/net.h (for struct in_addr)

Updated Branches:
  refs/heads/master dc6e42c63 -> d6a08ad1b


TS-986 ts/experimental has a dependency on netinet/net.h (for struct in_addr)


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

Branch: refs/heads/master
Commit: d6a08ad1b0b5d9c83211889380ee5dd4e579f93a
Parents: dc6e42c
Author: Leif Hedstrom <zw...@apache.org>
Authored: Wed Apr 10 15:37:50 2013 -0600
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Wed Apr 24 14:00:21 2013 -0600

----------------------------------------------------------------------
 CHANGES                     |    4 +++-
 proxy/api/ts/experimental.h |    4 ++++
 2 files changed, 7 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/d6a08ad1/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index e8de315..5fe37fc 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@
   Changes with Apache Traffic Server 3.3.3
 
 
+  *) [TS-986] experimental.h has a dependency on netinet/net.h (for
+  struct in_addr).
+
   *) [TS-1794 Replace all usage of ts_debug_assert() with ts_assert().
 
   *) [TS-1834] Force absolute paths to fix logstats unit tests.
@@ -52,7 +55,6 @@
 
   Changes with Apache Traffic Server 3.3.2
 
-
   *) [TS-621] Allow caching of empty docs (currently only if a header
    Content-Length: 0 is in the response). New config option is named
    proxy.config.http.cache.allow_empty_doc, and is disabled by default.

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/d6a08ad1/proxy/api/ts/experimental.h
----------------------------------------------------------------------
diff --git a/proxy/api/ts/experimental.h b/proxy/api/ts/experimental.h
index 2ca5d68..c8945c1 100644
--- a/proxy/api/ts/experimental.h
+++ b/proxy/api/ts/experimental.h
@@ -37,6 +37,10 @@ extern "C"
 {
 #endif                          /* __cplusplus */
 
+  // Forward declaration of in_addr, any user of these APIs should probably 
+  // include net/netinet.h or whatever is appropriate on the platform.
+  struct in_addr;
+
   /* Cache APIs that are not yet fully supported and/or frozen nor complete. */
   tsapi TSReturnCode TSCacheBufferInfoGet(TSCacheTxn txnp, uint64_t *length, uint64_t *offset);