net-snmp-features.h 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. #ifndef NETSNMP_FEATURES_H
  2. #define NETSNMP_FEATURES_H
  3. /* include files that are only needed if --enable-minimalist is on */
  4. #ifdef NETSNMP_MINIMAL_CODE
  5. #ifdef NETSNMP_FEATURE_CHECKING
  6. #include <net-snmp/feature-details.h>
  7. #else /* ! NETSNMP_FEATURE_CHECKING */
  8. #include <net-snmp/library/features.h>
  9. #ifndef NETSNMP_DISABLE_AGENT
  10. #include <net-snmp/agent/features.h>
  11. #include <net-snmp/agent/features-mibgroups.h>
  12. #endif
  13. #ifndef NETSNMP_DISABLE_APPS
  14. #include <net-snmp/features-snmpnetstat.h>
  15. #include <net-snmp/features-apps.h>
  16. #endif
  17. #endif /* ! NETSNMP_FEATURE_CHECKING */
  18. #endif /* NETSNMP_MINIMAL_CODE */
  19. /* prototypes always needed */
  20. #ifndef NETSNMP_FEATURE_CHECKING
  21. #define netsnmp_feature_provide(X) extern char netsnmp_feature_unused_ ## X
  22. #define netsnmp_feature_require(X) extern char netsnmp_feature_unused_ ## X
  23. #define netsnmp_feature_want(X) extern char netsnmp_feature_unused_ ## X
  24. #define netsnmp_feature_child_of(X, Y) extern char netsnmp_feature_unused_ ## X
  25. #endif
  26. #define netsnmp_feature_unused(X) extern char netsnmp_feature_unused_ ## X
  27. #endif /* NETSNMP_FEATURES_H */