Dave Shield wrote: > On 12/02/2008, Simon Huebner <[EMAIL PROTECTED]> wrote: >> But now i have a problem with the load routine? >> With routine should i use to fill the table? >> >> netsnmp_create_table_data_row(); >> netsnmp_set_row_column() and so one doesn't work, or? > > No - that's the API for the "create-dataset" framework. > The template code should include a routine > hrSWInstalledTable_createEntry > which will add a new row to the internal table. > > Call that (repeatedly) from within the load routine. > > Dave
But how can i add data to the given row? This is my first call: row = hrSWInstalledTable_createEntry(table, c); Now ..._createEntry creates index and data entry then returns the row. But how i add the data to the entry? Modify the hrSWInstalledTable_createEntry routine and give data per argument? Or modify entry with row->data->...? Or is there a routine for that? SoFar Simon ------------------------------------------------------------------------- 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 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