Hi Dave,

But why must it be declared as inline?
Is there any limitation in global variables and function calls?
Otherwise the global function will return always 0 no matter what values 
is returned.
Have you ever experienced the same?

Regards,
Nuno Magalhães.

Em 04-01-2013 21:44, Dave Shield escreveu:
> On 4 January 2013 19:34, Nuno Magalhães <nuno.magalh...@inov.pt> wrote:
>> What's the configuration I should use, with the mib2c tool, to access
>> global functions.
>> For example for invoking unix shell commands with popen or system and
>> retrieving a value.
> There's no special configuration required for mib2c - just take the code
> template that it generates, and add the necessary #includes yourself.
> mib2c is designed to look after generating the SNMP-related aspects
> of the required code - writing the code that relates to the underlying system
> being monitored (i.e. how you retrieve the actual data) is your 
> responsibility.
>
> 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/6009 - Data de Lançamento: 
> 01/04/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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to