Re: mib2c best configuration mode to access global functions

Nuno Magalhães <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Dave,

Here it goes.

In windows embedded code full compilation it doesn't happen.
In linux debian dlmod (obu.so) I must declared it inline to proc_status 
not return always zero.

Regards,
Nuno Magalhães.

Em 05-01-2013 17:43, Dave Shield escreveu:
> 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
>
>
> -----
> Não foram detectados vírus nesta  mensagem.
> Verificado por AVG - www.avg.com
> Versão: 2013.0.2805 / Base de dados de Vírus: 2637/6011 - Data de Lançamento: 01/05/13
>
>

------------------------------------------------------------------------------
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
obu.zip (application/zip, 1.3 KB) - not displayed
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.