00001 00004 #include <net-snmp/net-snmp-config.h> 00005 #include <net-snmp/net-snmp-includes.h> 00006 #include <net-snmp/agent/net-snmp-agent-includes.h> 00007 00008 #ifdef STILL_TO_DO 00009 /* 00010 * It ought to be possible to just #include these files, 00011 * but they rely on various other types being defined first. 00012 * 00013 * I really can't face tracking down the dependency chain 00014 * just at the moment. 00015 * So we'll just have to live with the warnings.... 00016 */ 00017 #include <net-snmp/agent/debug_handler.h> 00018 #include <net-snmp/agent/serialize.h> 00019 #include <net-snmp/agent/read_only.h> 00020 #include <net-snmp/agent/bulk_to_next.h> 00021 #include <net-snmp/agent/table_dataset.h> 00022 #include <net-snmp/agent/stash_cache.h> 00023 00024 #else 00025 00026 void netsnmp_init_debug_helper(void); 00027 void netsnmp_init_serialize(void); 00028 void netsnmp_init_read_only_helper(void); 00029 void netsnmp_init_bulk_to_next_helper(void); 00030 void netsnmp_init_table_dataset(void); 00031 void netsnmp_init_stash_cache_helper(void); 00032 #endif 00033 00035 void 00036 netsnmp_init_helpers(void) 00037 { 00038 netsnmp_init_debug_helper(); 00039 netsnmp_init_serialize(); 00040 netsnmp_init_read_only_helper(); 00041 netsnmp_init_bulk_to_next_helper(); 00042 netsnmp_init_table_dataset(); 00043 netsnmp_init_stash_cache_helper(); 00044 } 00045