On Fri, 10 Jun 2005 12:37:45 +0100 Dave wrote:
DS> Robert> 1) aren't all new routine supposed to be prefixed with netsnmp_?
DS> Wes> I'm pretty sure we came to a good agreement that netsnmp_
DS> Wes> prefixes were to be used.
DS> 
DS> Fair enough.
DS> I wasn't particularly happy with some of the names anyway.
DS> Changing them is no great hardship.

I should mentioned this earlier, and I don't know if this affects any of your
functions names, but we also agreed that naming based on 'class' before
'functionality' was a good thing too. eg (making up function names)

        netsnmp_iquery_pdu_create
        netsnmp_iquery_pdu_send

vs

        netsnmp_iquery_create_pdu
        netsnmp_iquery_send_pdu

I don't konw that I'd go as far as to say that we made it a rule, but it's
certainly my strong preference.

DS> All routines have been renamed with "netsnmp_" prefixes, and
DS> the session-based interfaces are now in the main SNMP library.

sigh. I really hate to see more new code go into snmp_(client|api). Any chance
I could talk you into a new file? Preferably one that doesn't start with snmp?

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to