On Thu, May 26, 2005 at 09:00:08AM +0100, Dave Shield wrote:
}  
}  (but don't forget to check for null pointers first!)

Speaking of which ... 

With the table_data helper can I asume that when my handler
is called for a GET request that it has validated the index?

Is the following test unnecessary?

   switch (reqinfo->mode) {
      case MODE_GET:
         for (request = requests; request; request = request->next) {
            if ((data = netsnmp_extract_table_row_data(request)) == NULL ) 
               return SNMP_ERR_GENERR;


        -Vance


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to