]> git.ipfire.org Git - thirdparty/squid.git/blob - src/wccp2.h
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / wccp2.h
1 /*
2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9 /* DEBUG: section 80 WCCP Support */
10
11 #ifndef SQUID_WCCP2_H_
12 #define SQUID_WCCP2_H_
13
14 #if USE_WCCPv2
15
16 class StoreEntry;
17
18 void wccp2Init(void);
19 void wccp2ConnectionOpen(void);
20 void wccp2ConnectionClose(void);
21 void parse_wccp2_method(int *v);
22 void free_wccp2_method(int *v);
23 void dump_wccp2_method(StoreEntry * e, const char *label, int v);
24 void parse_wccp2_amethod(int *v);
25 void free_wccp2_amethod(int *v);
26 void dump_wccp2_amethod(StoreEntry * e, const char *label, int v);
27
28 void parse_wccp2_service(void *v);
29 void free_wccp2_service(void *v);
30 void dump_wccp2_service(StoreEntry * e, const char *label, void *v);
31
32 int check_null_wccp2_service(void *v);
33
34 void parse_wccp2_service_info(void *v);
35
36 void free_wccp2_service_info(void *v);
37
38 void dump_wccp2_service_info(StoreEntry * e, const char *label, void *v);
39 #endif /* USE_WCCPv2 */
40
41 #endif /* WCCP2_H_ */
42