libamxc  1.10.3
C Generic Data Containers
amxc_htable_it.c File Reference

Ambiorix hash table iterator API implementation. More...

#include <stdlib.h>
#include <string.h>
#include <amxc/amxc_hash.h>
#include <amxc/amxc_htable.h>
#include <amxc/amxc_macros.h>

Go to the source code of this file.

Functions

int amxc_htable_it_init (amxc_htable_it_t *const it)
 Initializes a hash table.iterator. More...
 
void amxc_htable_it_clean (amxc_htable_it_t *const it, amxc_htable_it_delete_t func)
 Removes the iterator from the htable and frees allocated memory. More...
 
amxc_htable_it_tamxc_htable_it_get_next (const amxc_htable_it_t *const reference)
 Gets the next iterator in the hash table. More...
 
amxc_htable_it_tamxc_htable_it_get_previous (const amxc_htable_it_t *const reference)
 Gets the previous iterator in the hash table. More...
 
amxc_htable_it_tamxc_htable_it_get_next_key (const amxc_htable_it_t *const reference)
 Gets the next iterator in the hash table with the same key. More...
 
amxc_htable_it_tamxc_htable_it_get_previous_key (const amxc_htable_it_t *const reference)
 Gets the previous iterator in the hash table with the same key. More...
 
void amxc_htable_it_take (amxc_htable_it_t *const it)
 Removes the iterator from the hash table. More...
 

Detailed Description

Ambiorix hash table iterator API implementation.

Definition in file amxc_htable_it.c.