summaryrefslogtreecommitdiff
path: root/agent/mibgroup/examples/netSnmpHostsTable_checkfns_local.h
blob: 6cd44c9f8720c5cc4dae2f6b333385d3e2232b3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
 * Note: this file originally auto-generated by mib2c using
 *        : : mib2c.check_values_local.conf,v 5.1 2003/05/30 23:53:15 hardaker Exp $
 * 
 */
#ifndef NETSNMPHOSTSTABLE_CHECKFNS_LOCAL_H
#define NETSNMPHOSTSTABLE_CHECKFNS_LOCAL_H

/*
 * these functions are designed to check incoming values for 
 * columns in the netSnmpHostsTable table for legality with respect to 
 * datatype and value according to local conventions.  You should modify
 * them as appropriate.  They will be called from parent check_value
 * functions that are auto-generated using mib2c and the parent functions
 * should NOT be modified.
 */

#ifdef __cplusplus
extern "C" {
#endif
#if 0
}
#endif

int             check_netSnmpHostAddressType_local(int type, long *val,
                                                   size_t val_len,
                                                   long *old_val,
                                                   size_t old_val_len);
int             check_netSnmpHostAddress_local(int type, char *val,
                                               size_t val_len,
                                               char *old_val,
                                               size_t old_val_len);
int             check_netSnmpHostStorage_local(int type, long *val,
                                               size_t val_len,
                                               long *old_val,
                                               size_t old_val_len);
int             check_netSnmpHostRowStatus_local(int type, long *val,
                                                 size_t val_len,
                                                 long *old_val,
                                                 size_t old_val_len);

#if 0
{
#endif
#ifdef __cplusplus
}
#endif

#endif                          /* NETSNMPHOSTSTABLE_CHECKFNS_LOCAL_H */