table_rows(3)

NAME
table_rows -

Routines for working with the rows of a table.

  Functions
void * netsnmp_generic_row_first (void *table)
Retrieve the first row of the table.
void * netsnmp_generic_row_get (void *table, void *row)
Retrieve the given row from the table.
void * netsnmp_generic_row_next (void *table, void *row)
Retrieve the following row from the table.
void * netsnmp_generic_row_get_byidx (void *table, netsnmp_variable_list *indexes)
Retrieve the row with the specified index values.
void * netsnmp_generic_row_next_byidx (void *table, netsnmp_variable_list *indexes)
Retrieve the next row after the specified index values.
void * netsnmp_generic_row_get_byoid (void *table, oid *instance, size_t len)
Retrieve the row with the specified instance OIDs.
void * netsnmp_generic_row_next_byoid (void *table, oid *instance, size_t len)
Retrieve the next row after the specified instance OIDs.
int netsnmp_generic_row_count (void *table)
Report the number of rows in the table.

Detailed Description

Routines for working with the rows of a table.

Function Documentation

  int netsnmp_generic_row_count (void * table)

Report the number of rows in the table.

Definition at line 282 of file table_generic.c.

  void* netsnmp_generic_row_first (void * table)

Retrieve the first row of the table.

Definition at line 228 of file table_generic.c.

  void* netsnmp_generic_row_get (void * table, void * row)

Retrieve the given row from the table. This could either be the same data pointer, passed in, or a separate row structure sharing the same index values (or NULL).

This routine also provides a means to tell whether a given row is present in the table.

Definition at line 240 of file table_generic.c.

  void* netsnmp_generic_row_get_byidx (void * table, netsnmp_variable_list * indexes)

Retrieve the row with the specified index values.

Definition at line 255 of file table_generic.c.

  void* netsnmp_generic_row_get_byoid (void * table, oid * instance, size_t len)

Retrieve the row with the specified instance OIDs.

Definition at line 270 of file table_generic.c.

  void* netsnmp_generic_row_next (void * table, void * row)

Retrieve the following row from the table. If the specified row is not present, this routine should return the entry next after the position this row would have occupied.

Definition at line 249 of file table_generic.c.

  void* netsnmp_generic_row_next_byidx (void * table, netsnmp_variable_list * indexes)

Retrieve the next row after the specified index values.

Definition at line 262 of file table_generic.c.

  void* netsnmp_generic_row_next_byoid (void * table, oid * instance, size_t len)

Retrieve the next row after the specified instance OIDs.

Definition at line 276 of file table_generic.c.

Author

Generated automatically by Doxygen for net-snmp from the source code.