From: wessels <> Date: Wed, 3 Dec 1997 08:29:35 +0000 (+0000) Subject: remove include/snmp_config.h because its specific to the src directory. its contents... X-Git-Tag: SQUID_3_0_PRE1~4413 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6ccb94e5e8dfd5df6eb63bbb7354fdb4e35ad3a4;p=thirdparty%2Fsquid.git remove include/snmp_config.h because its specific to the src directory. its contents have been relocated to src/structs.h and src/defines.h --- diff --git a/src/defines.h b/src/defines.h index 3432944f67..2cb866fcab 100644 --- a/src/defines.h +++ b/src/defines.h @@ -173,3 +173,8 @@ #endif #define READ_AHEAD_GAP (1<<14) + +#if SQUID_SNMP +#define VIEWINCLUDED 1 +#define VIEWEXCLUDED 2 +#endif diff --git a/src/structs.h b/src/structs.h index 3e3164e051..aaa324ed83 100644 --- a/src/structs.h +++ b/src/structs.h @@ -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 {