ucd_compat.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. * UCD compatability definitions & declarations
  3. *
  4. */
  5. #ifndef NET_SNMP_UCD_COMPAT_H
  6. #define NET_SNMP_UCD_COMPAT_H
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. /*
  11. * from snmp_api.h
  12. */
  13. NETSNMP_IMPORT
  14. void snmp_set_dump_packet(int);
  15. NETSNMP_IMPORT
  16. int snmp_get_dump_packet(void);
  17. NETSNMP_IMPORT
  18. void snmp_set_quick_print(int);
  19. NETSNMP_IMPORT
  20. int snmp_get_quick_print(void);
  21. NETSNMP_IMPORT
  22. void snmp_set_suffix_only(int);
  23. NETSNMP_IMPORT
  24. int snmp_get_suffix_only(void);
  25. NETSNMP_IMPORT
  26. void snmp_set_full_objid(int);
  27. int snmp_get_full_objid(void);
  28. NETSNMP_IMPORT
  29. void snmp_set_random_access(int);
  30. NETSNMP_IMPORT
  31. int snmp_get_random_access(void);
  32. /*
  33. * from parse.h
  34. */
  35. NETSNMP_IMPORT
  36. void snmp_set_mib_warnings(int);
  37. NETSNMP_IMPORT
  38. void snmp_set_mib_errors(int);
  39. NETSNMP_IMPORT
  40. void snmp_set_save_descriptions(int);
  41. void snmp_set_mib_comment_term(int);
  42. void snmp_set_mib_parse_label(int);
  43. #ifdef __cplusplus
  44. }
  45. #endif
  46. #endif /* NET_SNMP_UCD_COMPAT_H */