Program Base Library Functions

void* pblHtFirst

( pblHashTable_t* h )

get data of first key in hash table

Documentation

get data of first key in hash table

This call and pblHtNext can be used in order to loop through all items stored in a hash table.

   Example:

for( data = pblHtFirst( h ); data; data = pblHtNext( h )) { do something with the data pointer }

Parameters:
h - hash table to look in
Returns:
void * retptr != NULL: pointer to data of first item
void * retptr == NULL: the hash table is empty
PBL_ERROR_NOT_FOUND:

Alphabetic index



This page was generated with the help of DOC++.