24#ifndef __M_HASH_MULTI_H__
25#define __M_HASH_MULTI_H__
29#include <mstdlib/base/m_defs.h>
30#include <mstdlib/base/m_types.h>
31#include <mstdlib/base/m_hashtable.h>
M_bool M_hash_multi_str_get_str(const M_hash_multi_t *h, const char *key, const char **val)
struct M_hash_multi M_hash_multi_t
Definition: m_hash_multi.h:48
M_bool M_hash_multi_u64_get_bool(const M_hash_multi_t *h, M_uint64 key, M_bool *val)
M_hash_multi_val_type_t M_hash_multi_u64_type(const M_hash_multi_t *h, M_uint64 key)
M_bool M_hash_multi_str_get_bool(const M_hash_multi_t *h, const char *key, M_bool *val)
M_bool M_hash_multi_u64_insert_vp(M_hash_multi_t *h, M_uint64 key, void *val, M_hash_multi_free_func val_free)
M_bool M_hash_multi_u64_remove(M_hash_multi_t *h, M_uint64 key, M_bool destroy_vp)
M_bool M_hash_multi_u64_insert_int(M_hash_multi_t *h, M_uint64 key, M_int64 val)
M_bool M_hash_multi_str_insert_uint(M_hash_multi_t *h, const char *key, M_uint64 val)
M_bool M_hash_multi_str_remove(M_hash_multi_t *h, const char *key, M_bool destroy_vp)
M_bool M_hash_multi_u64_get_bin(const M_hash_multi_t *h, M_uint64 key, const unsigned char **val, size_t *len)
void(* M_hash_multi_free_func)(void *)
Definition: m_hash_multi.h:71
M_bool M_hash_multi_str_insert_bool(M_hash_multi_t *h, const char *key, M_bool val)
M_bool M_hash_multi_u64_get_int(const M_hash_multi_t *h, M_uint64 key, M_int64 *val)
M_bool M_hash_multi_u64_insert_bool(M_hash_multi_t *h, M_uint64 key, M_bool val)
M_bool M_hash_multi_u64_insert_str(M_hash_multi_t *h, M_uint64 key, const char *val)
M_bool M_hash_multi_str_get_vp(const M_hash_multi_t *h, const char *key, void **val)
M_bool M_hash_multi_str_insert_bin(M_hash_multi_t *h, const char *key, const unsigned char *val, size_t len)
M_hash_multi_val_type_t
Definition: m_hash_multi.h:58
M_bool M_hash_multi_str_get_uint(const M_hash_multi_t *h, const char *key, M_uint64 *val)
M_bool M_hash_multi_u64_get_str(const M_hash_multi_t *h, M_uint64 key, const char **val)
M_bool M_hash_multi_str_insert_str(M_hash_multi_t *h, const char *key, const char *val)
M_bool M_hash_multi_u64_insert_uint(M_hash_multi_t *h, M_uint64 key, M_uint64 val)
void M_hash_multi_destroy(M_hash_multi_t *h) M_FREE(1)
M_hash_multi_flags_t
Definition: m_hash_multi.h:51
M_bool M_hash_multi_str_insert_int(M_hash_multi_t *h, const char *key, M_int64 val)
M_bool M_hash_multi_u64_get_uint(const M_hash_multi_t *h, M_uint64 key, M_uint64 *val)
M_bool M_hash_multi_str_insert_vp(M_hash_multi_t *h, const char *key, void *val, M_hash_multi_free_func val_free)
M_hash_multi_t * M_hash_multi_create(M_uint32 flags) M_MALLOC
M_bool M_hash_multi_u64_get_vp(const M_hash_multi_t *h, M_uint64 key, void **val)
M_hash_multi_val_type_t M_hash_multi_str_type(const M_hash_multi_t *h, const char *key)
M_bool M_hash_multi_str_get_int(const M_hash_multi_t *h, const char *key, M_int64 *val)
M_bool M_hash_multi_str_get_bin(const M_hash_multi_t *h, const char *key, const unsigned char **val, size_t *len)
M_bool M_hash_multi_u64_insert_bin(M_hash_multi_t *h, M_uint64 key, const unsigned char *val, size_t len)
@ M_HASH_MULTI_VAL_TYPE_STR
Definition: m_hash_multi.h:62
@ M_HASH_MULTI_VAL_TYPE_UNKNOWN
Definition: m_hash_multi.h:59
@ M_HASH_MULTI_VAL_TYPE_BIN
Definition: m_hash_multi.h:63
@ M_HASH_MULTI_VAL_TYPE_INT
Definition: m_hash_multi.h:61
@ M_HASH_MULTI_VAL_TYPE_VP
Definition: m_hash_multi.h:64
@ M_HASH_MULTI_VAL_TYPE_BOOL
Definition: m_hash_multi.h:60
@ M_HASH_MULTI_STR_CASECMP
Definition: m_hash_multi.h:53
@ M_HASH_MULTI_NONE
Definition: m_hash_multi.h:52