]>
git.ipfire.org Git - thirdparty/squid.git/blob - include/snmp_impl.h
1 #ifndef SQUID_SNMP_IMPL_H
2 #define SQUID_SNMP_IMPL_H
7 * Definitions for SNMP (RFC 1067) implementation.
11 /***********************************************************
12 Copyright 1988, 1989 by Carnegie Mellon University
16 Permission to use, copy, modify, and distribute this software and its
17 documentation for any purpose and without fee is hereby granted,
18 provided that the above copyright notice appear in all copies and that
19 both that copyright notice and this permission notice appear in
20 supporting documentation, and that the name of CMU not be
21 used in advertising or publicity pertaining to distribution of the
22 software without specific, written prior permission.
24 CMU DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
25 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
26 CMU BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
27 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
28 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
29 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
31 ******************************************************************/
34 #if (defined vax) || (defined (mips))
36 * This is a fairly bogus thing to do, but there seems to be no better way for
37 * compilers that don't understand void pointers.
45 #define SID_MAX_LEN 64
50 #define SNMP_RESERVE1 0
51 #define SNMP_RESERVE2 1
55 #define RONLY 0xAAAA /* read access for everyone */
56 #define RWRITE 0xAABA /* add write access for community private */
57 #define NOACCESS 0x0000 /* no access for anybody */
68 #endif /* SQUID_SNMP_IMPL_H */