- prevents all compiling and testing of the headers when the component is disabled.
#ifndef SQUID_DELAYID_H
#define SQUID_DELAYID_H
+#if DELAY_POOLS
+
class ClientHttpRequest;
#include "DelayIdComposite.h"
bool markedAsNoDelay;
};
+#endif /* DELAY_POOLS */
#endif /* SQUID_DELAYID_H */
*
* Copyright (c) 2003, Robert Collins <robertc@squid-cache.org>
*/
+#ifndef DELAYTAGGED_H
+#define DELAYTAGGED_H
#include "config.h"
-#ifndef DELAYTAGGED_H
-#define DELAYTAGGED_H
+#if DELAY_POOLS
#include "squid.h"
#include "authenticate.h"
Splay<DelayTaggedBucket::Pointer> buckets;
};
+#endif /* DELAY_POOLS */
#endif /* DELAYTAGGED_H */
*
* Copyright (c) 2003, Robert Collins <robertc@squid-cache.org>
*/
+#ifndef DELAYUSER_H
+#define DELAYUSER_H
#include "config.h"
-#ifndef DELAYUSER_H
-#define DELAYUSER_H
+#if DELAY_POOLS
#include "squid.h"
#include "authenticate.h"
Splay<DelayUserBucket::Pointer> buckets;
};
+#endif /* DELAY_POOLS */
#endif /* DELAYUSER_H */
*
* Copyright (c) 2003, Robert Collins <robertc@squid-cache.org>
*/
-
#ifndef SQUID_DELAYVECTOR_H
#define SQUID_DELAYVECTOR_H
+#include "config.h"
+
+#if DELAY_POOLS
+
#include "CompositePoolNode.h"
/// \ingroup DelayPoolsAPI
typedef Vector<CompositePoolNode::Pointer>::const_iterator const_iterator;
};
+#endif /* DELAY_POOLS */
#endif /* SQUID_DELAYVECTOR_H */