net-snmp 5.7
netSnmpHostsTable_checkfns.h
00001 /*
00002  * Note: this file originally auto-generated by mib2c using
00003  *        : mib2c.iterate.conf,v 5.6 2003/02/20 00:52:07 hardaker Exp $
00004  */
00005 
00006 /***********************************************************************
00007  *   This file is auto-generated and SHOULD NOT BE EDITED by hand.
00008  *   Modify the netSnmpHostsTable_checkfns_local.[ch] files insead.
00009  *   (so that you can regenerate this one as mib2c improvements are made)
00010  ***********************************************************************/
00011 #ifndef NETSNMPHOSTSTABLE_CHECKFNS_H
00012 #define NETSNMPHOSTSTABLE_CHECKFNS_H
00013 
00015 config_require(examples/netSnmpHostsTable_checkfns_local)
00016 
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020 
00021     /*
00022      * these functions are designed to check incoming values for 
00023      * columns in the netSnmpHostsTable table for legality with respect to 
00024      * datatype and value.
00025      */
00026      int             check_netSnmpHostAddressType(int type, long *val,
00027                                                   size_t val_len,
00028                                                   long *old_val,
00029                                                   size_t old_val_len);
00030      int             check_netSnmpHostAddress(int type, char *val,
00031                                               size_t val_len,
00032                                               char *old_val,
00033                                               size_t old_val_len);
00034      int             check_netSnmpHostStorage(int type, long *val,
00035                                               size_t val_len,
00036                                               long *old_val,
00037                                               size_t old_val_len);
00038      int             check_netSnmpHostRowStatus(int type, long *val,
00039                                                 size_t val_len,
00040                                                 long *old_val,
00041                                                 size_t old_val_len);
00042 
00043 #ifdef __cplusplus
00044 }
00045 #endif
00046 
00047 #endif                          /* NETSNMPHOSTSTABLE_CHECKFNS_H */