From net-snmp-coders Sat Dec 28 06:51:43 2002 From: madanagopal Date: Sat, 28 Dec 2002 06:51:43 +0000 To: net-snmp-coders Subject: (no subject) X-MARC-Message: https://marc.info/?l=net-snmp-coders&m=104105860916190 Hi. I am doing subagent development using net-snmp. I wrote a program using table_dataset helper to implement a table. Whenever a request for the table comes i want to get data from somewhere and return it for the request. Let the name of the file be tablehandler.c. Then in the function void init_tablehandler(void) i created a pointer to table_dataset and registered my handler to it. I want my handler to be called whenever a request comes to the table i am implementing. Now my handler is getting called only when i am adding atleast one row in init_tablehandler function. If i simply create a table_dataset and do not add any row any request for that table is not directed to my handler. Please look into it and specify the way the table_dataset is to be implemented such that during initialisation no row will be added and all the requests to that table be directed to my handler. Thank you. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders