dce_db_iter_next(3dce)During iteration, returns the next key from a backing store Synopsis
#include <dce/dce.h> void dce_db_iter_next( dce_db_handle_t handle, void **key, error_status_t *status); Parameters Input
handle Output
key
status
Description The iteration functions scan sequentially through a backing store, in no particular order. The dce_db_iter_start( ) routine initialized the process, a dce_db_iter_next( ) routine retrieves successive keys, for which the data can be retrieved with dce_db_fetch( ), and the dce_db_iter_done( ) routine finishes the process. The iteration can also use the dce_db_iter_next_by_name( ) and dce_db_iter_next_by_uuid( ) routines; the fetching can use the dce_db_fetch_by_name( ) and dce_db_fetch_by_uuid( ) routines. The iteration routine returns a pointer to a private space associated with the handle. Each call to the iteration routine reuses the space, instead of using allocated space. Errors The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.
db_s_no_more
error_status_ok
Related Information dce_db_iter_next_by_name(3dce) dce_db_iter_next_by_uuid(3dce)
|