]> git.ipfire.org Git - thirdparty/squid.git/blob - src/ip/QosConfig.h
Merge from trunk
[thirdparty/squid.git] / src / ip / QosConfig.h
1 #ifndef SQUID_QOSCONFIG_H
2 #define SQUID_QOSCONFIG_H
3
4 #include "config.h"
5
6 #if USE_ZPH_QOS
7
8 class StoreEntry;
9
10 class QosConfig
11 {
12 public:
13 int tos_local_hit;
14 int tos_sibling_hit;
15 int tos_parent_hit;
16 int preserve_miss_tos;
17 int preserve_miss_tos_mask;
18
19 public:
20 QosConfig();
21 ~QosConfig() {};
22
23 void parseConfigLine();
24 void dumpConfigLine(StoreEntry *entry, const char *name) const;
25 };
26
27 /* legacy parser access wrappers */
28 #define parse_QosConfig(X) (X)->parseConfigLine()
29 #define dump_QosConfig(e,n,X) (X).dumpConfigLine(e,n)
30 #define free_QosConfig(X)
31
32 #endif /* USE_ZPH_QOS */
33 #endif /* SQUID_QOSCONFIG_H */