/usr/include/net-snmp/library/snmpSocketBaseDomain.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 | #ifndef SNMPSOCKETBASEDOMAIN_H
#define SNMPSOCKETBASEDOMAIN_H
#if HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#include <net-snmp/library/snmp_transport.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* Prototypes
*/
int netsnmp_socketbase_close(netsnmp_transport *t);
int netsnmp_sock_buffer_set(int s, int optname, int local, int size);
int netsnmp_set_non_blocking_mode(int sock, int non_blocking_mode);
#ifdef __cplusplus
}
#endif
#endif /* SNMPSOCKETBASEDOMAIN_H */
|