~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to agent/helpers/all_helpers.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2004-09-13 12:06:21 UTC
  • Revision ID: james.westby@ubuntu.com-20040913120621-g952ntonlleihcvm
Tags: upstream-5.1.1
ImportĀ upstreamĀ versionĀ 5.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/** @name handler
 
2
 *  @{ */
 
3
 
 
4
#include <net-snmp/net-snmp-config.h>
 
5
 
 
6
#ifdef STILL_TO_DO
 
7
        /*
 
8
         * It ought to be possible to just #include these files,
 
9
         *   but they rely on various other types being defined first.
 
10
         *
 
11
         * I really can't face tracking down the dependency chain
 
12
         *   just at the moment.
 
13
         * So we'll just have to live with the warnings....
 
14
         */
 
15
#include <net-snmp/agent/debug_handler.h>
 
16
#include <net-snmp/agent/serialize.h>
 
17
#include <net-snmp/agent/read_only.h>
 
18
#include <net-snmp/agent/bulk_to_next.h>
 
19
#include <net-snmp/agent/table_dataset.h>
 
20
#include <net-snmp/agent/stash_cache.h>
 
21
 
 
22
#else
 
23
 
 
24
void  netsnmp_init_debug_helper(void);
 
25
void  netsnmp_init_serialize(void);
 
26
void  netsnmp_init_read_only_helper(void);
 
27
void  netsnmp_init_bulk_to_next_helper(void);
 
28
void  netsnmp_init_table_dataset(void);
 
29
void  netsnmp_init_stash_cache_helper(void);
 
30
#endif
 
31
 
 
32
/** call the initialization sequence for all handlers with init_ routines. */
 
33
void
 
34
netsnmp_init_helpers(void)
 
35
{
 
36
    netsnmp_init_debug_helper();
 
37
    netsnmp_init_serialize();
 
38
    netsnmp_init_read_only_helper();
 
39
    netsnmp_init_bulk_to_next_helper();
 
40
    netsnmp_init_table_dataset();
 
41
    netsnmp_init_stash_cache_helper();
 
42
}
 
43
 
 
44
/** @defgroup utilities utility_handlers: simplify request processing
 
45
 *  A group of handlers intended to simplify certain aspects of processing
 
46
 *  a request for a MIB object.  These helpers do not implement any MIB
 
47
 *  objects themselves.  Rather they handle specific generic situations,
 
48
 *  either returning an error, or passing a (possibly simpler) request
 
49
 *  down to lower level handlers.
 
50
 *  @ingroup handler
 
51
 */
 
52
 
 
53
/** @defgroup leaf leaf_handlers: process individual leaf objects
 
54
 *  A group of handlers to implement individual leaf objects and instances
 
55
 *  (both scalar objects, and individual objects and instances within a table).
 
56
 *  These handlers will typically allow control to be passed down to a lower
 
57
 *  level, user-provided handler, but this is (usually) optional.
 
58
 *  @ingroup handler
 
59
 */
 
60
 
 
61
/** @} */