Re: How to generate code for scalar objects & Tables in the same C file

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 07/03/2008, san <[email protected]> wrote:
>  How do I generate code for scalars & Tables simultaneously

You can't - the mib2c script isn't that clever.

> because when I integrate the code which is generated separately for
> scalars & tables I am facing some problems

What sort of problems.


>  And could you please point to some documentum where I can get more info
> about Implementing tables

There's elements of this in the FAQ
(http://net-snmp.sourceforge.net/wiki/index.php/FAQ:Coding),
in the tutorials
(http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_MIB_Module),
and various examples in the source code tree (agent/mibgroup/examples)

Start with those, and if you've got any specific questions, post them here.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.