net-snmp 5.7
snmp_service.h
00001 #ifndef _SNMP_SERVICE_H
00002 #define _SNMP_SERVICE_H
00003 
00004 #ifdef __cplusplus
00005 extern "C" {
00006 #endif
00007 
00008 /* Default port handling */
00009 
00010 NETSNMP_IMPORT int
00011 netsnmp_register_default_domain(const char* application, const char* domain);
00012 
00013 extern const char*
00014 netsnmp_lookup_default_domain(const char* application);
00015 
00016 extern const char* const *
00017 netsnmp_lookup_default_domains(const char* application);
00018 
00019 extern void
00020 netsnmp_clear_default_domain(void);
00021 
00022 NETSNMP_IMPORT int
00023 netsnmp_register_default_target(const char* application, const char* domain,
00024                                 const char* target);
00025 
00026 extern const char*
00027 netsnmp_lookup_default_target(const char* application, const char* domain);
00028 
00029 extern void
00030 netsnmp_clear_default_target(void);
00031 
00032 NETSNMP_IMPORT void
00033 netsnmp_register_service_handlers(void);
00034 
00035 #ifdef __cplusplus
00036 }
00037 #endif
00038 
00039 #endif /* _SNMP_SERVICE_H */