]> git.ipfire.org Git - thirdparty/squid.git/blame - src/SnmpRequest.h
Maintenance: automate header guards 2/3 (#1655)
[thirdparty/squid.git] / src / SnmpRequest.h
CommitLineData
df6c653b 1/*
b8ae064d 2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
df6c653b 3 *
bbc27441
AJ
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.
df6c653b
FC
7 */
8
ff9d9458
FC
9#ifndef SQUID_SRC_SNMPREQUEST_H
10#define SQUID_SRC_SNMPREQUEST_H
bbc27441 11
df6c653b 12#if SQUID_SNMP
a7b75c64
FC
13#include "acl/forward.h"
14#include "ip/Address.h"
df6c653b
FC
15#include "snmp_session.h"
16
17// POD
18class SnmpRequest
19{
20public:
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
ff9d9458 39#endif /* SQUID_SRC_SNMPREQUEST_H */
f53969cc 40