> On Wed, 2005-05-25 at 11:30, Victor Yeo wrote:
>
> > One more question, i use mib2c.create-dataset.conf to generate this
table.
> > Can i create the table rows in real-time?
>
> Yes.
>
> If you register the dataset table using:
>
>    netsnmp_table_data_set *ds =
>        netsnmp_create_table_data_set( "dtApInstWaveTable" );
> +  ds->allow_creation = 1;
>    netsnmp_register_table_data_set( reg, dsinfo, NULL );
>

thanks for the helpful reply.
This is what i use, i think you use a short form for
netsnmp_register_table_data_set(......)???  Right?
=======================================================
    netsnmp_table_data_set *ds =
            netsnmp_create_table_data_set( "dtApInstWaveTable" );
    ds->allow_creation = 1;
    netsnmp_register_table_data_set( netsnmp_create_handler_registration
                                                  ("dtApInstWaveTable",
                                                    table_handler,
                                                    oid,
                                                    oid_length,
                                                    HANDLER_CAN_REWRITE),
ds, NULL
                                                    );
========================================================

victor




-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
_______________________________________________
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