NAME
snmdb_get_next_element - get the next element in the enumerated list returned from snmdb_enumerate_elements
SYNOPSIS
#include <netmgt/netmgt_db.h>
char *
snmdb_get_next_element(handle)
snmdb_handle *handle;
DESCRIPTION
Call snmdb_enumerate_elements(3n) to generate: the enumerated list of the elements of a certain type in a view, the elements of certain type in all views, all elements in a view, or all elements in all views. Then you may get the element name one at a time by calling snmdb_get_next_element to get the next name in the list.
INPUT ARGUMENTS
handle
pointer pointing to the enumerated list returned by a call to snmdb_enumerate_elements(3n).
RETURN VALUE
Returns NULL if there is no remaining element in the list. Otherwise, it returns the name of next element in the list.
SEE ALSO
snmdb_enumerate_elements(3n),
snmdb_free_enumeration_handle(3n)