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

This is a discussion on How to generate code for scalar objects & Tables in the same C file within the SNMP Users forums, part of the Networking and Network Related category; --===============1128917249== Content-Type: multipart/alternative; boundary="----=_Part_2674_19449379.1204910201056" ------=_Part_2674_19449379.1204910201056 Content-Type: text/plain; charset=ISO-8859-1 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-07-2008
san
 
Posts: n/a
Default How to generate code for scalar objects & Tables in the same C file

--===============1128917249==
Content-Type: multipart/alternative;
boundary="----=_Part_2674_19449379.1204910201056"

------=_Part_2674_19449379.1204910201056
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi Dave,

I am using mib2c to generate code for custom defined MIBS

At start I have generated code for only scalar objects using "mib2c -c
mib2c.scalar.conf MIBNODE"

And I am able to generate code for tables too using "mib2c.iterate.conf" &
"mib2c.mfd.conf"

Now when I invoke mib2c with out any options, it asks weather code should
be generated for scalar/tables, I have opted for both i.e., scalar as well
as tables but I see the generated code is only for tables.

How do I generate code for scalars & Tables simultaneously, because when I
integrate the code which is generated separately for scalars & tables I am
facing some problems

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


Thanks & Regards
San

------=_Part_2674_19449379.1204910201056
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div>&nbsp;</div>
<div>&nbsp;Hi Dave,</div>
<div>&nbsp;</div>
<div>&nbsp;I am using mib2c to generate code for custom defined MIBS</div>
<div>&nbsp;</div>
<div>&nbsp;At start I have generated code for only scalar objects using &quot;mib2c -c mib2c.scalar.conf MIBNODE&quot;</div>
<div>&nbsp;</div>
<div>&nbsp;And I am able to generate code for tables too using &quot;mib2c.iterate.conf&quot; &amp; &quot;mib2c.mfd.conf&quot;</div>
<div>&nbsp;</div>
<div>&nbsp;Now when I invoke mib2c&nbsp;with out any&nbsp;options, it asks weather code should be generated for scalar/tables, I have opted for both i.e., scalar as well as tables but&nbsp;I see the generated code is only for tables. </div>

<div>&nbsp;</div>
<div>&nbsp;How do I generate code for scalars &amp; Tables simultaneously, because&nbsp;when I integrate the code which is generated separately for scalars &amp; tables I am facing some problems </div>
<div>&nbsp;</div>
<div>&nbsp;And could you please point to some documentum where I can get more info about Implementing&nbsp;tables</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Thanks &amp; Regards</div>
<div>San</div>

------=_Part_2674_19449379.1204910201056--


--===============1128917249==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
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/
--===============1128917249==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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/...net-snmp-users

--===============1128917249==--

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:58 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0