Re: NETSNMP_CALLBACK_OP_CONNECT

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 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-27-2005
Magnus Fromreide
 
Posts: n/a
Default Re: NETSNMP_CALLBACK_OP_CONNECT

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:02 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0