]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - include/snmp_impl.h
SourceFormat Enforcement
[thirdparty/squid.git] / include / snmp_impl.h
index 4350d6dc1d7e57d4f99798754dbf2b6b5317de39..4e598239f0d34e04db7208fffd619383054234c4 100644 (file)
@@ -1,6 +1,11 @@
 /*
- * $Id$
+ * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
  */
+
 #ifndef SQUID_SNMP_IMPL_H
 #define SQUID_SNMP_IMPL_H
 
@@ -12,7 +17,7 @@
  *
  */
 /***********************************************************
-       Copyright 1988, 1989 by Carnegie Mellon University
+    Copyright 1988, 1989 by Carnegie Mellon University
 
                       All Rights Reserved
 
@@ -45,19 +50,19 @@ SOFTWARE.
 #endif
 #endif
 
-#define SID_MAX_LEN    64
+#define SID_MAX_LEN 64
 
-#define READ       1
-#define WRITE      0
+#define READ        1
+#define WRITE       0
 
 #define SNMP_RESERVE1    0
 #define SNMP_RESERVE2    1
 #define SNMP_COMMIT      2
 #define SNMP_FREE        3
 
-#define RONLY  0xAAAA          /* read access for everyone */
-#define RWRITE 0xAABA          /* add write access for community private */
-#define NOACCESS 0x0000                /* no access for anybody */
+#define RONLY   0xAAAA      /* read access for everyone */
+#define RWRITE  0xAABA      /* add write access for community private */
+#define NOACCESS 0x0000     /* no access for anybody */
 
 struct trapVar {
     oid *varName;
@@ -68,7 +73,5 @@ struct trapVar {
     struct trapVar *next;
 };
 
-/* from snmp.c */
-extern u_char sid[];           /* size SID_MAX_LEN */
-
 #endif /* SQUID_SNMP_IMPL_H */
+