~ubuntu-branches/ubuntu/intrepid/net-snmp/intrepid-updates

« back to all changes in this revision

Viewing changes to agent/agent_handler.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2006-11-28 12:29:34 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20061128122934-82xxzy2zcvypnvy7
Tags: 5.2.3-4ubuntu1
* Merge from debian unstable, remaining changes:
  - remove stop links from rc0 and rc6

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
 *  iterate through data stored elsewhere (like in a kernel) that is
75
75
 *  not in OID lexographical order (ie, don't write your own index/oid
76
76
 *  sorting routine, use this helper instead).  The beauty of the
77
 
 *  @link table_iterator table_iterator helper@, as well as the @link
78
 
 *  instance instance@ helper is that they take care of the complex
 
77
 *  @link table_iterator table_iterator helper@endlink, as well as the @link
 
78
 *  instance instance@endlink helper is that they take care of the complex
79
79
 *  GETNEXT processing entirely for you and hand you everything you
80
80
 *  need to merely return the data as if it was a GET request.  Much
81
81
 *  less code and hair pulling.  I've pulled all my hair out to help
127
127
 *  @param name is the handler name and is copied then assigned to
128
128
 *              netsnmp_handler_registration->handlerName.
129
129
 *
130
 
 *  @param handler_access_method is a function pointer used as the access
 
130
 *  @param handler is a function pointer used as the access
131
131
 *      method for this handler registration instance for whatever required
132
132
 *      needs.
133
133
 *
743
743
 
744
744
/** add data to a request that can be extracted later by submodules
745
745
 *
746
 
 * @param requset the netsnmp request info structure
 
746
 * @param request the netsnmp request info structure
747
747
 *
748
748
 * @param node this is the data to be added to the linked list
749
749
 *             request->parent_data
765
765
 
766
766
/** remove data from a request
767
767
 *
768
 
 * @param requset the netsnmp request info structure
 
768
 * @param request the netsnmp request info structure
769
769
 *
770
770
 * @param name this is the name of the previously added data
771
771
 *