![]() |
![]() |
![]() |
Prelude library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
typedef prelude_hash_t; int prelude_hash_new (prelude_hash_t **hash
,unsigned int (hash_funcconst void *) ()
,int (key_cmp_funcconst void *, const void *) ()
,void (key_destroy_funcvoid *) ()
,void (value_destroy_funcvoid *) ()
); int prelude_hash_new2 (prelude_hash_t **hash
,size_t size
,unsigned int (hash_funcconst void *) ()
,int (key_cmp_funcconst void *, const void *) ()
,void (key_destroy_funcvoid *) ()
,void (value_destroy_funcvoid *) ()
); void prelude_hash_destroy (prelude_hash_t *hash
); int prelude_hash_set (prelude_hash_t *hash
,void *key
,void *value
); void * prelude_hash_get (prelude_hash_t *hash
,const void *key
); int prelude_hash_elem_destroy (prelude_hash_t *hash
,const void *key
); void prelude_hash_iterate (prelude_hash_t *hash
,void (cbvoid *data) ()
);
int prelude_hash_new (prelude_hash_t **hash
,unsigned int (hash_funcconst void *) ()
,int (key_cmp_funcconst void *, const void *) ()
,void (key_destroy_funcvoid *) ()
,void (value_destroy_funcvoid *) ()
);
|
const void *:
const void *, const void *:
void *:
void *:
|
Returns : |
int prelude_hash_new2 (prelude_hash_t **hash
,size_t size
,unsigned int (hash_funcconst void *) ()
,int (key_cmp_funcconst void *, const void *) ()
,void (key_destroy_funcvoid *) ()
,void (value_destroy_funcvoid *) ()
);
|
|
|
const void *:
const void *, const void *:
void *:
void *:
|
Returns : |
int prelude_hash_set (prelude_hash_t *hash
,void *key
,void *value
);
|
|
|
|
|
|
Returns : |
void * prelude_hash_get (prelude_hash_t *hash
,const void *key
);
|
|
|
|
Returns : |
int prelude_hash_elem_destroy (prelude_hash_t *hash
,const void *key
);
|
|
|
|
Returns : |
void prelude_hash_iterate (prelude_hash_t *hash
,void (cbvoid *data) ()
);
|
void *data:
|