From: Amos Jeffries Date: Thu, 13 Jun 2013 11:08:58 +0000 (-0600) Subject: SourceLayout: Add anyp/forward.h predefinition X-Git-Tag: SQUID_3_4_0_1~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9082b58f0f689e270c7ec2397548798e5d6b59fb;p=thirdparty%2Fsquid.git SourceLayout: Add anyp/forward.h predefinition Provide the AnyP:: namespace predefines to reduce dependencies. --- diff --git a/src/anyp/Makefile.am b/src/anyp/Makefile.am index 680f09affb..2724a482ce 100644 --- a/src/anyp/Makefile.am +++ b/src/anyp/Makefile.am @@ -4,6 +4,7 @@ include $(top_srcdir)/src/TestHeaders.am noinst_LTLIBRARIES = libanyp.la libanyp_la_SOURCES = \ + forward.h \ PortCfg.cc \ PortCfg.h \ ProtocolType.cc \ diff --git a/src/anyp/PortCfg.h b/src/anyp/PortCfg.h index 0898e45cdd..9553caeeb2 100644 --- a/src/anyp/PortCfg.h +++ b/src/anyp/PortCfg.h @@ -1,8 +1,8 @@ #ifndef SQUID_ANYP_PORTCFG_H #define SQUID_ANYP_PORTCFG_H +#include "anyp/forward.h" #include "anyp/TrafficMode.h" -#include "cbdata.h" #include "comm/Connection.h" #if USE_SSL diff --git a/src/anyp/forward.h b/src/anyp/forward.h new file mode 100644 index 0000000000..b01b4c0077 --- /dev/null +++ b/src/anyp/forward.h @@ -0,0 +1,15 @@ +#ifndef _SQUID_SRC_ANYP_FORWARD_H +#define _SQUID_SRC_ANYP_FORWARD_H + +#include "base/CbcPointer.h" + +namespace AnyP +{ + +class PortCfg; +typedef CbcPointer PortCfgPointer; + +} // namespace AnyP + +#endif /* _SQUID_SRC_ANYP_FORWARD_H */ +