/* mib stuff here */
+#ifndef CURRENT_MIB_VERSION
+#define CURRENT_MIB_VERSION "v 1.12 1998/03/16 kostas@nlanr.net"
+#endif
+
/* MIB definitions
* We start from the SQUIDMIB as the root of the subtree
*
#define RWRITE 0xAABA /* add write access for community private */
#define NOACCESS 0x0000 /* no access for anybody */
+#ifndef INTEGER
#define INTEGER ASN_INTEGER
#define STRING ASN_OCTET_STR
#define OBJID ASN_OBJECT_ID
#define NULLOBJ ASN_NULL
-
+#endif
struct trapVar {
oid *varName;
/*
- * $Id: version.h,v 1.109 1998/03/17 05:31:01 kostas Exp $
+ * $Id: version.h,v 1.110 1998/03/17 06:14:30 kostas Exp $
*
* SQUID_VERSION - String for version id of this distribution
*/
#ifndef SQUID_RELEASE_TIME
#define SQUID_RELEASE_TIME squid_curtime
#endif
-
-#ifndef CURRENT_MIB_VERSION
-#define CURRENT_MIB_VERSION "v 1.12 1998/03/16 kostas@nlanr.net"
-#endif
#include "util.h"
+#include "cache_snmp.h"
/*
* This is one element of an object identifier with either an integer subidentifier,
* or a textual string label, or both.
#define LABEL 1
#define SUBTREE 2
#define SYNTAX 3
+#undef OBJID
#define OBJID 4
#define OCTETSTR 5
+#undef INTEGER
#define INTEGER 6
#define NETADDR 7
#define IPADDR 8
#define READONLY 18
#define READWRITE 19
#define WRITEONLY 20
+#undef NOACCESS
#define NOACCESS 21
#define STATUS 22
#define MANDATORY 23