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