]> git.ipfire.org Git - thirdparty/squid.git/blob - src/SnmpRequest.h
Maintenance: automate header guards 2/3 (#1655)
[thirdparty/squid.git] / src / SnmpRequest.h
1 /*
2 * Copyright (C) 1996-2023 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 #ifndef SQUID_SRC_SNMPREQUEST_H
10 #define SQUID_SRC_SNMPREQUEST_H
11
12 #if SQUID_SNMP
13 #include "acl/forward.h"
14 #include "ip/Address.h"
15 #include "snmp_session.h"
16
17 // POD
18 class SnmpRequest
19 {
20 public:
21 u_char *buf;
22 u_char *outbuf;
23 int len;
24 int sock;
25 long reqid;
26 int outlen;
27
28 Ip::Address from;
29
30 struct snmp_pdu *PDU;
31 ACLChecklist *acl_checklist;
32 u_char *community;
33
34 struct snmp_session session;
35 };
36
37 #endif /* SQUID_SNMP */
38
39 #endif /* SQUID_SRC_SNMPREQUEST_H */
40