summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrm <mrm@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-01 00:08:28 +0000
committermrm <mrm@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-01 00:08:28 +0000
commit2d4911a6120251fb5584ac28fde4cc5dc4ab5b44 (patch)
tree20ae61cda95b6512211ea0df3fa51b27b1239474
parent0e0b0d3fa9aade20b28f265416eecd1015d94bb4 (diff)
downloadATCD-2d4911a6120251fb5584ac28fde4cc5dc4ab5b44.tar.gz
Updates for 1.6 (Eric Newton's changes)
-rw-r--r--ASNMP/ChangeLog35
-rw-r--r--ASNMP/Makefile2
-rw-r--r--ASNMP/README45
3 files changed, 65 insertions, 17 deletions
diff --git a/ASNMP/ChangeLog b/ASNMP/ChangeLog
index b21c27306cb..b7ab0424d8d 100644
--- a/ASNMP/ChangeLog
+++ b/ASNMP/ChangeLog
@@ -1,3 +1,38 @@
+Sun Nov 30 17:49:12 CST 1997 Mike MacFaden <mrm@tango.cs.wustl.edu>
+ * Thanks to Eric Newton's <ecn@smart.net> apply patches:
+ Removed G++ warnings:
+ Removed unused variables
+ Cleaned up unused args to functions
+ Initialized variables
+ Inserted casts in *printf* functions
+ Added int return types to function definitions
+ Converted some variables from int to size_t to cut down on
+ sign comparison warnings
+ Reordered constructor initializer lists
+ Added return statements to functions returning int
+
+ Modified for G++ language differences:
+ Modified for loops for ANSI scoping rules
+
+ Fixed Bugs:
+ Deleted incorrect (cut-n-pasted) header to transaction.h
+ Removed "assignment in if condition" error
+ Added missing "break;" in switch statement in wpdu
+
+ Features:
+ Added async interface.
+
+ Noise:
+ Modified makefiles for g++ on Linux RedHat 4.1
+
+ * The new async interface has a test example in examples/get/get_async.cpp
+ that is useful if you are extending the get application.
+
+ * Fixed makefile to include -lasnmp when building tests/examples
+
+ * Compile and test with ACE 4.4 on Solaris 2.5.1 using Sun CC 4.2
+ no warnings/errors. get_async will sigbus however in destructors.
+
Thu Sep 4 18:56:12 1997 Mike MacFaden <mrm@tango.cs.wustl.edu>
* commit agent/ mibs/ and update asnmp/ with sagent.h, cpp
diff --git a/ASNMP/Makefile b/ASNMP/Makefile
index 8d43505165a..dfcb25362d9 100644
--- a/ASNMP/Makefile
+++ b/ASNMP/Makefile
@@ -13,7 +13,6 @@ INFO = README
DIRS = asnmp \
examples \
tests
-
#----------------------------------------------------------------------------
# Include macros and targets
#----------------------------------------------------------------------------
@@ -25,6 +24,7 @@ include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU
include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU
+LDLIBS := -L$(ACE_ROOT)/ASNMP/asnmp -lasnmp $(LDLIBS:%=%$(VAR))
# DO NOT DELETE THIS LINE -- g++dep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
diff --git a/ASNMP/README b/ASNMP/README
index edb682ab025..113ef39bedf 100644
--- a/ASNMP/README
+++ b/ASNMP/README
@@ -1,13 +1,19 @@
-Thu Sep 4 18:58:26 CDT 1997
+Sun Nov 30 17:54:33 CST 1997
====================================================================
-ASNMP = ACE+SNMP++ Version 1.5
-By Michael R. MacFaden mrm@acm.org, mrm@cisco.com
+ASNMP = ACE+SNMP++ Version 1.6
+By Michael R. MacFaden mrm@acm.org, mrm@yagosys.com
====================================================================
What is ASNMP ? ==> ACE+SNMP! aka Another SNMP API
HP's SNMP++ 2.5 freely available C++ SNMP class library
has been adapted to the ACE 4.2 Framework.
+What is Simple Network Management Protocol(SNMP)?
+ See the FAQ:
+ http://www.snmp.com/FAQs/snmp-faq-part1.txt
+ http://www.snmp.com/FAQs/snmp-faq-part2.txt
+
+
What was changed from HP version?
See src/ChangeLog file.
@@ -19,7 +25,8 @@ Is HP SNMP++ compatible with ASNMP?
with the HP interface as well as locking down valid() semantics, etc.
What platforms have the test programs been verified on?
- Solaris 2.4, 2.5.1 using SUN C++ 4.1 compiler
+ Solaris 2.4, 2.5.1 using SUN C++ 4.1,4.2 compiler. Linux/GCC
+ fixes are now in as well.
Why use this version?
The SNMP++ version ships only for HP-UX and for Windows.
@@ -43,12 +50,14 @@ How does ASNMP differ from SNMP?
not the place to include GUI support in the new world of
multi-threaded apps.
- No ASYNC interface. In this version the ASYNC interface has been
- removed. A new one based on class callbacks will be added in
+ The SNMP object does not provide an ASYNC interface.
+ A new one based on class callbacks will be added in
the future. Use ACE Threads if blocking doesn't suit you.
+ Otherwise, check out Eric Newton's get_async code in examples/get
+ directory.
- SNMP V2c cmds (getbulk) has been hidden from the API until I
- have an CISCO IOS agent that talks V2c to test with.
+ SNMP V2c/V3 cmds (getbulk) has been hidden from the API until I
+ have an agent that talks V2c to test with.
How to build this library?
Set ACE_ROOT and platform_macros.GNU per ../INSTALL file.
@@ -77,6 +86,10 @@ What about SNMP Version 2c?
These should be coded as if they were SMI datatypes to encapsulate
their behavior. V2c hasn't been deployed
+What about SNMP Version 3?
+ It is looking good for V3, but so far, we're just wathing.
+ http://www.ietf.org/html.charters/snmpv3-charter.html
+
What copyrights/legal requirements are required when using this code?
See ./COPYRIGHT
@@ -87,18 +100,18 @@ Any Future Plans?
The ASNMP library will be improved for performance and made to use
higher level design patterns. Hopefully it will be used as a
vehicle for grad students to learn something about network mgmt
- code work related distributed programming.
+ code work a related cousin of general distributed programming.
Regards,
Michael R. MacFaden
-Software Engineer IV
-Cisco Systems, Inc.
-Network Management Business Unit
-170 West Tasman Drive
-San Jose, CA 95120
-408-526-6228
-mrm@cisco.com
+Member of the Technical Staff
+YAGO Systems, Inc.
+795 Vaqueros Ave
+Sunnyvale, CA 94086
+408-774-2900 x251
+mrm@yagosys.com
+http://www.yagosys.com
====================================================================
SNMP++ For UNIX Source Code and Examples: