Dave Shield wrote on 2004-08-23(!):
Dave> But one of the major tasks is to go through the existing debug statements
Dave> and come up with a suitable hierarchical debug token structure.
Dave> (Plus identifying where we really ought to have debugging statements,
Dave> but don't!)   Volunteers gratefully received :-)

Bruce> I could have a look [at this]
Bruce> What I need are the parameters for "ought".

   "If I were developing an application [client/agent/MIB module]
    using this part of the Net-SNMP library, and it wasn't working,
    what information would I need to track down the problem".

Unfortunately this effort doesn't seem to have been finished. At least the following old-style debug tokens are (still) in MAIN:

foo# find . -name \*.c -print | xargs grep DEBUGMSGT | grep \" | cut -f 2 -d\" | sort -u | grep /
agentx/config
agentx/config/retries
agentx/config/timeout
agentx/master
agentx/subagent
agentx/subgaent
host/hr_device
host/hr_disk
host/hr_filesys
host/hr_inst
host/hr_network
host/hr_partition
host/hr_print
host/hr_proc
host/hr_storage
host/hr_swinst
host/hr_swrun
host/hr_swrun::GetNextHR_SWRun
host/hr_system
inetNetToMediaTable/cache
mibII/at
mibII/icmp
mibII/interfaces
mibII/ip
mibII/ipv6
mibII/mta_sendmail.c:mta_sendmail_parse_config
mibII/mta_sendmail.c:open_sendmailst
mibII/mta_sendmail.c:read_sendmailcf
mibII/snmp_mib
mibII/sysORTable
mibII/tcpScalar
mibII/tcpTable
mibII/udpScalar
mibII/udpTable
mibII/vacm_vars
mibII/var_route
smux/snmp_bgp
smux/snmp_ospf
smux/snmp_rip2
snmpd/main
snmpd/select
ucd-snmp/disk
ucd-snmp/disk:
ucd-snmp/lmSensors
ucd-snmp/memory
ucd-snmp/pass
ucd-snmp/pass_persist
ucd-snmp/proc
ucd-snmp/versioninfo
ucd-snmp/vmstat_aix4.c:update_stats
ucd-snmp/vmstat_dynix.c:update_stats
ucd-snmp/vmstat_hpux.c:update_stats
ucd-snmp/vmstat_solaris2.c:update_stats

Will we be able to clean that up (a bit) before 5.3?


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to