net-snmp 5.7
|
00001 #ifndef NET_SNMP_INCLUDES_H 00002 #define NET_SNMP_INCLUDES_H 00003 00011 /* 00012 * Common system header requirements 00013 */ 00014 #include <stdio.h> 00015 #include <sys/types.h> 00016 #ifdef HAVE_STDINT_H 00017 #include <stdint.h> 00018 #endif 00019 00020 #ifndef NET_SNMP_CONFIG_H 00021 #error "Please include <net-snmp/net-snmp-config.h> before this file" 00022 #endif 00023 00024 #if HAVE_STRING_H 00025 #include <string.h> 00026 #else 00027 #include <strings.h> 00028 #endif 00029 00030 #if HAVE_STDLIB_H 00031 #include <stdlib.h> 00032 #endif 00033 #if HAVE_UNISTD_H 00034 #include <unistd.h> 00035 #endif 00036 #if HAVE_NETINET_IN_H 00037 #include <netinet/in.h> 00038 #endif 00039 00040 #if TIME_WITH_SYS_TIME 00041 # include <sys/time.h> 00042 # include <time.h> 00043 #else 00044 # if HAVE_SYS_TIME_H 00045 # include <sys/time.h> 00046 # else 00047 # include <time.h> 00048 # endif 00049 #endif 00050 00051 /* 00052 * Must be right after system headers, but before library code for best usage 00053 */ 00054 #if HAVE_DMALLOC_H 00055 #include <dmalloc.h> 00056 #endif 00057 00058 /* 00059 * The check for missing 'in_addr_t' is handled 00060 * within the main net-snmp-config.h file 00061 */ 00062 00063 00064 /* 00065 * The full Net-SNMP API 00066 */ 00067 #include <net-snmp/definitions.h> 00068 #include <net-snmp/types.h> 00069 00070 #include <net-snmp/library/getopt.h> 00071 #include <net-snmp/utilities.h> 00072 #include <net-snmp/session_api.h> 00073 #include <net-snmp/pdu_api.h> 00074 #include <net-snmp/mib_api.h> 00075 #include <net-snmp/varbind_api.h> 00076 #include <net-snmp/config_api.h> 00077 #include <net-snmp/output_api.h> 00078 #include <net-snmp/snmpv3_api.h> 00079 00080 #endif /* NET_SNMP_INCLUDES_H */