This is a discussion on Re: NETSNMP_CALLBACK_OP_CONNECT within the SNMP Coders forums, part of the Networking and Network Related category; On Tue, Sep 27, 2005 at 08:13:02AM -0700, Wes Hardaker wrote: > >>>>> On ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Tue, Sep 27, 2005 at 08:13:02AM -0700, Wes Hardaker wrote:
> >>>>> On Tue, 27 Sep 2005 14:27:01 +0200, Magnus Fromreide <magfr@lysator.liu.se> said: > > Magnus> This patche calls the callback function in the created object > Magnus> and gives it the newly created session as argument, given the > Magnus> declaration of callback I couldn't figure out anything better > Magnus> to do. > > That could do it. The question is, if checked in, how much existing > code fails to handle unknown ops properly... > > It should only go into 5.3+ certainly. Seems fair. > Other thoughts? I should probably point out one further ugliness, the magic argument is given the content of the link magic pointer, another alternative would be to give it a pointer to the link and a third one would be to just pass NULL. /MF ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |