> Basically, I have to provide debug CLIs for the net-snmp 5.1 code. > > I have observed that there are more than hundred tokens for debugging > purpose(courtesy: http://www.net-snmp.org/faqs/rstory/ ) which I can > specify using -D option. > > Are there any broader categories that these tokens have been categorised > under, so that I can define CLIs which can cover all these tokens.
Unfortunately not. Like much else in this project, the debugging tokens have "just growed" without any real overall organising structure. There are some elements of a heirarchical structure, but nothing consistent. (And in fact there are *two* different such approaches!) We've recently been talking about introducing something more flexible and scalable, but this is likely to require a major blitz on the code (having first come up with a sensible structure to work with). Plus a compatability mechanism so that the current tokens still work. You might like to look at the coders list archives for (late) April, at a thread entitled "5.2 proposal: debug levels". Basically a discussion between myself and Robert about what we might do. But I don't think that this is going to be ready for 5.2 somehow :-) Dave ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users