table_tdata api question

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <OF25756B10.D8C7BF28-ON882573CC.000A352A-882573CC.000B04D8@playstation.sony.com>
I was using table_tdata api, following example in expExpression.c. 
However, I had this problem and would like to get comments from you guys:

my table only uses one index (say world index), and has a few columns, one 
of them is client count. I followed the mentioned example, and calls 

netsnmp_tdata_create_row()
netsnmp_tdata_row_add_index() (that supposedly added the index value for 
this row)
netsnmp_tdata_add_row.

in sequence. I tried to add two rows into this table, one with worldindex 
1, clientcount 10, another with world index 5, clientcount 50. Everything 
seem to be working, but when I browser the table from a mib browser, I can 
only see the column of clientcount with correct values of the two rows, 
but the index fields are all empty for both rows. What should I look into 
to figure this out? Thanks in advance for help.

--
Shawn He
Online Technology
Office:858-824-5969 Fax: 858-824-5878
AIM: CivRealtor

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

_______________________________________________
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.