Thanks Dave,
You made my day :-) static will do just fine.
Regards,
Nuno Magalhães.
On 06-01-2013 18:47, Dave Shield wrote:
> On 5 January 2013 18:10, Nuno Magalhães wrote:
>> Here it goes.
> Thanks for that.
>
>> In windows embedded code full compilation it doesn't happen.
>> In linux debian d
On 5 January 2013 18:10, Nuno Magalhães wrote:
> Here it goes.
Thanks for that.
> 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.
I'm not currently set up for compiling dynamically l
On 5 January 2013 12:14, Nuno Magalhães 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
> lo
Hi Dave,
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
On 5 January 2013 09:05, Nuno Magalhães wrote:
> But why must it be declared as inline?
Why must what be declared inline?
What has that got to do with using global functions/variables?
> Is there any limitation in global variables and function calls?
> Otherwise the global function will return
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 esc
On 4 January 2013 19:34, Nuno Magalhães 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
Hi,
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.
Can someone point me sample code.
Thanks,
Nuno Magalhães.
--