auto_nlist.h 605 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * auto_nlist.h
  3. */
  4. #ifndef AUTO_NLIST_H
  5. #define AUTO_NLIST_H
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9. #if defined(irix6) && defined(IRIX64)
  10. #define nlist nlist64
  11. #endif
  12. #ifdef NETSNMP_CAN_USE_NLIST
  13. int auto_nlist(const char *, char *, size_t);
  14. long auto_nlist_value(const char *);
  15. int KNLookup(struct nlist *, int, char *, size_t);
  16. #else
  17. int auto_nlist_noop(void);
  18. # define auto_nlist(x,y,z) auto_nlist_noop()
  19. # define auto_nlist_value(z) auto_nlist_noop()
  20. # define KNLookup(w,x,y,z) auto_nlist_noop()
  21. #endif
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. #endif