| 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 |
/*********************************************************************** |
| 7 |
* This file is auto-generated and SHOULD NOT BE EDITED by hand. |
| 8 |
* Modify the netSnmpHostsTable_checkfns_local.[ch] files insead. |
| 9 |
* (so that you can regenerate this one as mib2c improvements are made) |
| 10 |
***********************************************************************/ |
| 11 |
#ifndef NETSNMPHOSTSTABLE_CHECKFNS_H |
| 12 |
#define NETSNMPHOSTSTABLE_CHECKFNS_H |
| 13 |
|
| 14 |
/** make sure we load the functions that you can modify */ |
| 15 |
config_require(examples/netSnmpHostsTable_checkfns_local); |
| 16 |
|
| 17 |
#ifdef __cplusplus |
| 18 |
extern "C" { |
| 19 |
#endif |
| 20 |
|
| 21 |
/* |
| 22 |
* these functions are designed to check incoming values for |
| 23 |
* columns in the netSnmpHostsTable table for legality with respect to |
| 24 |
* datatype and value. |
| 25 |
*/ |
| 26 |
int check_netSnmpHostAddressType(int type, long *val, |
| 27 |
size_t val_len, |
| 28 |
long *old_val, |
| 29 |
size_t old_val_len); |
| 30 |
int check_netSnmpHostAddress(int type, char *val, |
| 31 |
size_t val_len, |
| 32 |
char *old_val, |
| 33 |
size_t old_val_len); |
| 34 |
int check_netSnmpHostStorage(int type, long *val, |
| 35 |
size_t val_len, |
| 36 |
long *old_val, |
| 37 |
size_t old_val_len); |
| 38 |
int check_netSnmpHostRowStatus(int type, long *val, |
| 39 |
size_t val_len, |
| 40 |
long *old_val, |
| 41 |
size_t old_val_len); |
| 42 |
|
| 43 |
#ifdef __cplusplus |
| 44 |
} |
| 45 |
#endif |
| 46 |
|
| 47 |
#endif /* NETSNMPHOSTSTABLE_CHECKFNS_H */ |