/usr/include/net-snmp/library/snmp_service.h is in libsnmp-dev 5.7.2~dfsg-8.1ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #ifndef _SNMP_SERVICE_H
#define _SNMP_SERVICE_H
#ifdef __cplusplus
extern "C" {
#endif
/* Default port handling */
NETSNMP_IMPORT int
netsnmp_register_default_domain(const char* application, const char* domain);
extern const char*
netsnmp_lookup_default_domain(const char* application);
extern const char* const *
netsnmp_lookup_default_domains(const char* application);
extern void
netsnmp_clear_default_domain(void);
NETSNMP_IMPORT int
netsnmp_register_default_target(const char* application, const char* domain,
const char* target);
extern const char*
netsnmp_lookup_default_target(const char* application, const char* domain);
extern void
netsnmp_clear_default_target(void);
NETSNMP_IMPORT void
netsnmp_register_service_handlers(void);
#ifdef __cplusplus
}
#endif
#endif /* _SNMP_SERVICE_H */
|