and added files
[bcm963xx.git] / userapps / opensource / net-snmp / include / net-snmp / library / check_varbind.h
1 #ifndef SNMP_CHECK_VARBIND_H
2 #define SNMP_CHECK_VARBIND_H
3
4 #ifdef __cplusplus
5 extern          "C" {
6 #endif
7
8     /*
9      * Assorted convience routines to check the contents of a
10      * netsnmp_variable_list instance.
11      */
12
13     int netsnmp_check_vb_type_and_size(netsnmp_variable_list *var, int type,
14                                        size_t size);
15
16     int netsnmp_check_vb_int_range(netsnmp_variable_list *var, int low,
17                                    int high);
18
19     int netsnmp_check_vb_truthvalue(netsnmp_variable_list *var);
20
21     int netsnmp_check_vb_rowstatus(netsnmp_variable_list *var, int old_val);
22
23     int netsnmp_check_vb_storagetype(netsnmp_variable_list *var, int old_val);
24
25
26 #ifdef __cplusplus
27 }
28 #endif
29 #endif                          /* SNMP_CHECK_VARBIND_H */