Re: mib2c best configuration mode to access global functions

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGY80QCBPsn1rs37rTgaGTBbPPWJYv1iCHgm6YJv8JABgA@mail.gmail.com>
On 5 January 2013 12:14, Nuno Magalhães <[email protected]> wrote:
> It seems that normal global functions are not called since I put snmp logs
> all over the global function and invoke it in the function handler and
> nothing gets logged.
> If I use the 'inline' keywork in the global function definition it gets
> logged. As you're certainly more experienced in Linux than me, do you
> suspect of anything?

I'm not sure what's happening here - but I suspect that the inline issue
is possibly something of a red-herring.

Could you possibly post a version of your module code (ideally one that
is relatively standalone and doesn't rely on any underlying stuff), so
that we can have a proper look at what you are doing, and see if we
can spot the problem.

Dave

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.