netSnmpHostsTable_checkfns.h
上传用户:wxp200602
上传日期:2007-10-30
资源大小:4028k
文件大小:2k
源码类别:

SNMP编程

开发平台:

Unix_Linux

  1. /*
  2.  * Note: this file originally auto-generated by mib2c using
  3.  *        : mib2c.iterate.conf,v 5.6 2003/02/20 00:52:07 hardaker Exp $
  4.  */
  5. /***********************************************************************
  6.  *   This file is auto-generated and SHOULD NOT BE EDITED by hand.
  7.  *   Modify the netSnmpHostsTable_checkfns_local.[ch] files insead.
  8.  *   (so that you can regenerate this one as mib2c improvements are made)
  9.  ***********************************************************************/
  10. #ifndef NETSNMPHOSTSTABLE_CHECKFNS_H
  11. #define NETSNMPHOSTSTABLE_CHECKFNS_H
  12. /** make sure we load the functions that you can modify */
  13. config_require(examples/netSnmpHostsTable_checkfns_local)
  14.     /*
  15.      * these functions are designed to check incoming values for 
  16.      * columns in the netSnmpHostsTable table for legality with respect to 
  17.      * datatype and value.
  18.      */
  19.      int             check_netSnmpHostAddressType(int type, long *val,
  20.                                                   size_t val_len,
  21.                                                   long *old_val,
  22.                                                   size_t old_val_len);
  23.      int             check_netSnmpHostAddress(int type, char *val,
  24.                                               size_t val_len,
  25.                                               char *old_val,
  26.                                               size_t old_val_len);
  27.      int             check_netSnmpHostStorage(int type, long *val,
  28.                                               size_t val_len,
  29.                                               long *old_val,
  30.                                               size_t old_val_len);
  31.      int             check_netSnmpHostRowStatus(int type, long *val,
  32.                                                 size_t val_len,
  33.                                                 long *old_val,
  34.                                                 size_t old_val_len);
  35. #endif                          /* NETSNMPHOSTSTABLE_CHECKFNS_H */