cp_hashtable

Section: libcprops - cp_hashtable (3)
Updated: OCTOBER 2005
Index Return to Main Contents
 

NAME

cp_hashtable_get_keys, cp_hashtable_get_values - retrieve hashtable keys / values  

SYNOPSIS

#include <cprops/hashtable.h>

void **cp_hashtable_get_keys(cp_hashtable *table);
void **cp_hashtable_get_values(cp_hashtable *table);  

DESCRIPTION

cp_hashtable_get_keys and cp_hashtable_get_values return an array containing all keys and values in the table respectively. The newly allocated array's size may be determined by calling cp_hashtable_count.  

RETURN VALUE

An array of void pointers to the keys / values or NULL on failure.  

ERRORS

EINVAL
table is NULL.
ENOMEM
the return array could not be allocated.
 

SEE ALSO

cp_hashtable(3), cp_hashtable_count(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 18:37:21 GMT, December 27, 2005
SourceForge.net Logo