net-snmp 5.7
|
Routines for working with row indexes. More...
Functions | |
netsnmp_variable_list * | netsnmp_generic_idx (void *table) |
Retrieve the indexing structure of the table. | |
netsnmp_variable_list * | netsnmp_generic_row_idx (void *row) |
Report the index values for a row. | |
size_t | netsnmp_generic_row_oid (void *row, oid *instances) |
Report the instance OIDs for a row. | |
int | netsnmp_generic_compare_idx (void *row, netsnmp_variable_list *index) |
Compare a row against the specified index values. | |
int | netsnmp_generic_compare_oid (void *row, oid *instances, size_t len) |
Compare a row against the specified instance OIDs. | |
int | netsnmp_generic_compare_subtree_idx (void *row, netsnmp_variable_list *index) |
Check if a row lies within a subtree of index values. | |
int | netsnmp_generic_compare_subtree_oid (void *row, oid *instances, size_t len) |
Check if a row lies within a subtree of instance OIDs. |
Routines for working with row indexes.
int netsnmp_generic_compare_idx | ( | void * | row, |
netsnmp_variable_list * | index | ||
) |
Compare a row against the specified index values.
Definition at line 325 of file table_generic.c.
int netsnmp_generic_compare_oid | ( | void * | row, |
oid * | instances, | ||
size_t | len | ||
) |
Compare a row against the specified instance OIDs.
Definition at line 331 of file table_generic.c.
int netsnmp_generic_compare_subtree_idx | ( | void * | row, |
netsnmp_variable_list * | index | ||
) |
Check if a row lies within a subtree of index values.
Definition at line 337 of file table_generic.c.
int netsnmp_generic_compare_subtree_oid | ( | void * | row, |
oid * | instances, | ||
size_t | len | ||
) |
Check if a row lies within a subtree of instance OIDs.
Definition at line 343 of file table_generic.c.
netsnmp_variable_list* netsnmp_generic_idx | ( | void * | table | ) |
Retrieve the indexing structure of the table.
Definition at line 307 of file table_generic.c.
netsnmp_variable_list* netsnmp_generic_row_idx | ( | void * | row | ) |
Report the index values for a row.
Definition at line 313 of file table_generic.c.
size_t netsnmp_generic_row_oid | ( | void * | row, |
oid * | instances | ||
) |
Report the instance OIDs for a row.
Definition at line 319 of file table_generic.c.