Logo
Home page Net-SNMP

Archive Search:

Require all words?

Site Search:
Google
Main Page | Modules | Data Structures | File List | Data Fields | Related Pages | Examples

table_rows
[generic_table_API]

Routines for working with the rows of a table. More...

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 283 of file table_generic.c.

void* netsnmp_generic_row_first void *  table  ) 
 

Retrieve the first row of the table.

Definition at line 229 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 241 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 256 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 271 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 250 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 263 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 277 of file table_generic.c.


Generated on Fri Dec 30 13:48:01 2005 for net-snmp by  doxygen 1.3.9.1

Valid CSS!


Last modified: Thursday, 01-Mar-2007 16:20:08 PST
For questions regarding web content and site functionality, please write to the net-snmp-users mail list.