]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
remove include/snmp_config.h because its specific to the src directory. its contents...
authorwessels <>
Wed, 3 Dec 1997 08:29:35 +0000 (08:29 +0000)
committerwessels <>
Wed, 3 Dec 1997 08:29:35 +0000 (08:29 +0000)
src/defines.h
src/structs.h

index 3432944f674ef35552024af68b9a8d0bf7ca9fa0..2cb866fcabdd17e35b9c6bf8a54f397fcbac2ef4 100644 (file)
 #endif
 
 #define READ_AHEAD_GAP         (1<<14)
+
+#if SQUID_SNMP
+#define VIEWINCLUDED    1
+#define VIEWEXCLUDED    2
+#endif
index 3e3164e051f68f54d71b9b6af26cd7319e7ce593..aaa324ed834a40ebfed63df6433b168d1fe90177 100644 (file)
@@ -40,6 +40,36 @@ struct _snmpconf {
     int type;
     struct _snmpconf *next;
 };
+
+typedef struct _viewEntry {
+    char viewName[32];
+    int viewIndex;
+    int viewType;
+    int viewSubtreeLen;
+    oid viewSubtree[32];
+    struct _viewEntry *next;
+} viewEntry;
+
+typedef struct _communityEntry {
+    char name[64];
+    int readView;
+    int writeView;
+    struct _communityEntry *next;
+} communityEntry;
+
+typedef struct _usecEntry {
+    u_char userName[32];
+    int userLen;
+    int qoS;
+    u_char authKey[16];
+    u_char privKey[16];
+    int noauthReadView;
+    int noauthWriteView;
+    int authReadView;
+    int authWriteView;
+    struct _usecEntry *next;
+} usecEntry;
+
 #endif
 
 struct _acl {