Hi, All!!!!

I´m going to answer my own question with other question-
The real problem that I have is:
When i ask to my table, the first row is OID.1.1.1 and I return the data of 
all columns of that row. I print the results and call to the NEXT OID, in 
this case OID.1.1.2.
Then, the row exist in the table but it´s a empty row and I want to pass to 
the next OID ".1.2.1" because I know that this new OID return a value.

Sorry by my english.
How Can I go to an OID that i want without pass one by one???

----- Original Message ----- 
From: "Roberto Gonzalo" <rgonz...@inelcom.com>
To: <net-snmp-users@lists.sourceforge.net>
Sent: Thursday, July 09, 2009 1:59 PM
Subject: Problem with table-data.conf


> Hi, all!!!
>
> I have a problem with tables generated by table-data.conf.
>
> I´ve generated 512 rows in the table with the next code:
>
> int i, j;
>
> for(i=1; i<=16; i++)
> {
>      for(j=1; j<=16; j++)
>      {
>           table_row = MyTable_createEntry( table_data,i,j,1);
>           table_mytable = (struct MyTable_entry *)table_row->data;
>
>           table_row = moduloConversorTable_createEntry( table_data,i,j,2);
>           table_mytable = (struct MyTable_entry *)table_row->data;
>      }
> }
>
> The question is:
> when I click in the "View table" button in my SNMPc Manage Console, I want 
> to view only a few rows, no all the table.
>
> I don´t know how to use the functions of table_tdata.c like 
> netsnmp_tdata_row* netsnmp_tdata_row_get (  netsnmp_tdata *  table,
>      netsnmp_tdata_row *  row
>     )
>
> or
>
>      void* netsnmp_tdata_row_entry (  netsnmp_tdata_row *  row  )
>
>
> or anothers functions like these.
>
> Someone for wirtting me an example????
>
> Thanks for all!!! 


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
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