summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/snmp.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2008-01-11 12:12:15 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2008-01-11 12:12:15 +0000
commitc8e71a5abe2c4aaf029ea70ad6eb770db7f50d11 (patch)
tree8e15ffc0da1bd4f22e7575b4220c8c0ac72a0b80 /usr.sbin/snmpd/snmp.h
parentcaa482943d9cf5bb76b0a8a3e170e400d16d8168 (diff)
rename snmp context type enum elements
Diffstat (limited to 'usr.sbin/snmpd/snmp.h')
-rw-r--r--usr.sbin/snmpd/snmp.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/usr.sbin/snmpd/snmp.h b/usr.sbin/snmpd/snmp.h
index 5bb21f7e199..0ba2d24d287 100644
--- a/usr.sbin/snmpd/snmp.h
+++ b/usr.sbin/snmpd/snmp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: snmp.h,v 1.1 2007/12/05 09:22:44 reyk Exp $ */
+/* $OpenBSD: snmp.h,v 1.2 2008/01/11 12:12:14 reyk Exp $ */
/*
* Copyright (c) 2007 Reyk Floeter <reyk@vantronix.net>
@@ -26,17 +26,17 @@ enum snmp_version {
};
enum snmp_context {
- SNMP_T_GETREQ = 0,
- SNMP_T_GETNEXTREQ = 1,
- SNMP_T_GETRESP = 2,
- SNMP_T_SETREQ = 3,
- SNMP_T_TRAP = 4,
+ SNMP_C_GETREQ = 0,
+ SNMP_C_GETNEXTREQ = 1,
+ SNMP_C_GETRESP = 2,
+ SNMP_C_SETREQ = 3,
+ SNMP_C_TRAP = 4,
/* SNMPv2 */
- SNMP_T_GETBULKREQ = 5,
- SNMP_T_INFORMREQ = 6,
- SNMP_T_TRAPV2 = 7,
- SNMP_T_REPORT = 8
+ SNMP_C_GETBULKREQ = 5,
+ SNMP_C_INFORMREQ = 6,
+ SNMP_C_TRAPV2 = 7,
+ SNMP_C_REPORT = 8
};
enum snmp_application {