null.h 464 B

123456789101112131415161718192021222324252627
  1. #ifndef AGENT_NULL_H
  2. #define AGENT_NULL_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /*
  7. * null.h
  8. */
  9. /*
  10. * literally does nothing and is used as a final handler for
  11. * "do-nothing" nodes that must exist solely for mib tree storage
  12. * usage..
  13. */
  14. int netsnmp_register_null(oid *, size_t);
  15. int netsnmp_register_null_context(oid *, size_t, const char *contextName);
  16. Netsnmp_Node_Handler netsnmp_null_handler;
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20. #endif