This commit is contained in:
hyung-hwan 2008-03-23 07:19:33 +00:00
parent 60181c42a1
commit abd2477aa6

View File

@ -1,5 +1,5 @@
/* /*
* $Id: map.h 116 2008-03-03 11:15:37Z baconevi $ * $Id: map.h 158 2008-03-22 13:19:33Z baconevi $
* *
* {License} * {License}
*/ */
@ -104,22 +104,20 @@ ase_pair_t* ase_map_getpair (
ase_map_t* map, const ase_char_t* keyptr, ase_size_t keylen, ase_map_t* map, const ase_char_t* keyptr, ase_size_t keylen,
void** val); void** val);
ase_pair_t* ase_map_setpair ( ase_pair_t* ase_map_setpair (ase_map_t* map, ase_pair_t* pair, void* val);
ase_map_t* map, ase_pair_t* pair, void* val);
int ase_map_remove ( int ase_map_remove (
ase_map_t* map, const ase_char_t* keyptr, ase_size_t keylen); ase_map_t* map, const ase_char_t* keyptr, ase_size_t keylen);
int ase_map_walk (ase_map_t* map, int ase_map_walk (ase_map_t* map, int (*walker)(ase_pair_t*,void*), void* arg);
int (*walker)(ase_pair_t*,void*), void* arg);
/** /**
* Gets the pointer to the first pair in the map. * Gets the pointer to the first pair in the map.
* @param map [in] * @param map [in]
* @param buckno [out] * @param buckno [out]
*/ */
ase_pair_t* ase_map_getfirstpair ( ase_pair_t* ase_map_getfirstpair (ase_map_t* map, ase_size_t* buckno);
ase_map_t* map, ase_size_t* buckno);
/** /**
* Gets the pointer to the next pair in the map. * Gets the pointer to the next pair in the map.
* @param map [in] * @param map [in]