1 Wed Jan 4 22:50:09 UTC 2006 J.T. Conklin <jtc@acorntoolworks.com>
6 Delete-trailing-whitespace.
8 Added "Local Variables" section defining "add-log-time-format"
9 to a really ugly lambda expression that formats changelog
10 timestamps in UTC and works with both GNU Emacs and XEmacs.
12 Fri May 7 11:40:25 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
14 * pdu.cpp (agent_error_reason):
16 Really fixed mismatched sprintf() format specifiers this time
19 Thu May 6 11:13:25 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
21 * oid.cpp (operator+=, OidToStr):
22 * pdu.cpp (agent_error_reason):
24 Fixed warnings regarding mismatch format specifiers and
25 arguments to sprintf().
27 Thu May 6 11:05:01 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
31 Nuked trailing white space.
33 Fri Apr 23 11:23:21 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
37 Missed some bool return types for equality operators.
39 Thu Apr 22 23:03:48 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
52 Changed all return types for equality, relational and logical
53 operators to "bool", as is the norm for modern C++.
55 Fri Aug 29 07:57:05 2003 Ossama Othman <ossama@dre.vanderbilt.edu>
57 * octet.cpp (to_string_hex):
59 Fixed "string literal converted to char *" warning. String
60 literals are now considered "const" by standard C++.
62 Tue Mar 16 16:28:14 1999 David L. Levine <levine@cs.wustl.edu>
64 * address.cpp, address.h, asn1.cpp, asn1.h, counter.cpp, ctr64.cpp,
65 gauge.cpp, integer.cpp, octet.cpp, oid.cpp, pdu.cpp, sagent.cpp,
66 snmp.cpp, target.cpp, timetick.cpp, transaction.cpp, vb.cpp,
68 replaced TRUE with 1, and FALSE and NULL with 0. Thanks to
69 Achint Sandhu <sandhu@nortelnetworks.com> for reporting that
70 TRUE and FALSE weren't define on his Linux platform.
72 * wpdu.cpp (set_trap_info): wrapped condition with () to
73 avoid g++ warning about using result of an assignment as
76 * ctr64.cpp: made MAX64 unsigned, to avoid warning about it
77 being to big to be signed.
79 Wed Jul 15 20:27:23 1998 Mike MacFaden <mrm@tango.cs.wustl.edu>
80 * asn1.cpp - Hien Nguyen <hnguyen@apexgrp.com> fixed these bugs:
82 Problem: The V1 trap agent-addr field tag value is OCTET STRING
83 instead of IPADDRESS, and the time stamp field tag value is INTEGER
84 instead of TIME TICKS.
86 Fix: Change cmu_snmp::build() to pass in the correct type for agent-addr
89 2. Problem: The V1 trap enterprise OID is corrupted after is was set in
92 Fix: In wpdu::set_trap_info(), the raw_pdu enterprise OID pointer was
93 assigned to the raw data of an enterprise Oid object on the stack.
94 Changed to perform an ACE_NEW_RETURN on the raw_pdu->enterprise and
95 perform a memcpy to copy the OID. The allocated memory is freed in
96 cmu_snmp::free_pdu() as currently implemented.
98 3. The V1 trap agent-addr field is currently initialized to "0.0.0.0".
99 I changed wpdu::set_trap_info to initialize it to the local host IP
102 4. I noticed that the memory allocation for OID in asn1.cpp using
103 ACE_NEW consistently use (OID length * size(oid)) as the size.
104 Shouldn't it be simply OID length ? Since there are numerous instances
105 of this usage in asn1.cpp, I have not fixed those. If you can double
106 check and fix these, I appreciate it.
109 Wed Aug 20 15:11:23 1997 Mike MacFaden <mrm@tango.cs.wustl.edu>
111 * rebuilt Makefile using g++dep
113 * pdu.h pdu.cpp initialization errors fixed
115 * address.h address.cpp IpAddress::to_octet() added
117 Fri Aug 1 19:23:52 1997 Mike MacFaden (mrm@mrm-ss20)
119 * NOTES: This first version only tested on Solaris 2.5
121 * review classes for thread safety. Current thread design only
122 allows for one thread to safely access any ASNMP object created.
124 * run purify test of get routine no -memory leaks.
126 * verify both shared archive/static archive types work with
129 * << Globals Changes >>
131 * tested only archiver library version
133 * reformat code to use one brace style.
135 * changed all manifest constants defined as _XX to XX_ to stay out
136 of compiler namespace
138 * change all OS calls to use ACE_OS:: portability layer, #include
141 * reformat code to use one consistent brace layout and redo
144 * remove semicolons on member functions foo{}; - not necessary
146 * make get() methods const member functions
148 * removed unnecessary casts that looked like this: and revamped
149 all memory allocations via ACE_NEW macro
151 new_oid = (SmiLPUINT32) new unsigned long [ smival.value.oid.len
155 ACE_NEW(new_oid, SmiUINT32[ smival.value.oid.len])
157 * Collapsed default constructors with constructors to constructors
158 with default arguments.
160 * removed unused #include <iostream.h>
162 * Added ACE_TRACE() to classes
164 * change get_printable() to to_string() - there will be more java
165 programmers in the future so this should be the first step...
167 * removed ASYNC interface till it can be rebuilt using ACE patterns
169 * Attempt to make interface more type strict but leaving generic
170 interfaces as escape hatch. Example: CTarget becomes UdpTarget
171 for UDP/IP based agents.
173 * << Class Specific Changes >>
176 - remove char * routines, simplify class
177 - added suboid method and removed get_printable() overloads
180 - renamed to UdpTarget. Stay out of Microsoft Namespace per MSJ
181 Article by Allen Hollub.
184 - remove generic set_value for char,int, etc. Too easy to get
185 this wrong. Allow just types defined.
186 - added overload for equality operator (==)
187 - added new constructor to allow setting full vb state oid,value, exception
191 - change manifest constants to enums for address lengths, add IP V6 lens
193 - add a netbios name class, still pretty worthless since I don't have spec
194 in front of me yet...
196 - rewrite resolver calls to be thread safe and cleaner by moving to two
197 class (static) member functions:
199 // thread safe routine to lookup ip address given hostname
200 // return <> 0 on error
201 static int resolve_to_addr(const char *hostname, in_addr& quad_addr);
203 // thread safe routine to lookup name given ip address
204 // return <> 0 on error
205 static int resolve_to_hostname(const in_addr& quad_addr, char *hostname)
207 * added some interrogation routines to class IpAddress:
211 - added constructor using long long datatype (needs to be made
214 * Pdu class: add to_string()
216 * Classes added wpdu class:
217 - a new adpater class between CMU and HP pdu, varbind data structures
220 - implement get/getnext timeout and retry logic using ACE
221 Reactor class, ACE_Time_Value
225 add-log-time-format: (lambda () (progn (setq tz (getenv "TZ")) (set-time-zone-rule "UTC") (setq time (format-time-string "%a %b %e %H:%M:%S %Z %Y" (current-time))) (set-time-zone-rule tz) time))
226 indent-tabs-mode: nil