Re: get next implementation question

2018-09-24 Thread Wes Hardaker via Net-snmp-coders
Chen Lihua writes: Hi Chen, > I used  mib2c.iterate.conf to create skeleton code for my table, which > generated two functions: > xxx_get_first_data_point and xxx_get_next_data_point. Below is my > current implementation: ... > It worked, however, it seems not too efficient: Yes, the iterate m

get next implementation question

2018-09-10 Thread Chen Lihua
Hi I'm using net-snmp-5.8 agent code to implement my own MIB table. My table will have 1+ rows stored in external database. I used mib2c.iterate.conf to create skeleton code for my table, which generated two functions: xxx_get_first_data_point and xxx_get_next_data_point. Below is my current