24#ifndef __M_BITLIST_H__
25#define __M_BITLIST_H__
29#include <mstdlib/base/m_defs.h>
30#include <mstdlib/base/m_types.h>
31#include <mstdlib/base/m_buf.h>
32#include <mstdlib/base/m_hash_u64str.h>
33#include <mstdlib/base/m_hash_stru64.h>
const char * name
Definition: m_bitlist.h:86
M_uint64 id
Definition: m_bitlist.h:85
const char * M_bitlist_single_tostr(const M_bitlist_t *list, M_uint64 id)
M_uint64 M_bitlist_single_toint(const M_bitlist_t *list, const char *name)
M_bool M_bitlist_list(char **out, M_bitlist_flags_t flags, const M_bitlist_t *list, M_uint64 bits, unsigned char delim, char *error, size_t error_len)
M_bool M_bitlist_parse(M_uint64 *out, M_bitlist_flags_t flags, const M_bitlist_t *list, const char *data, unsigned char delim, char *error, size_t error_len)
M_bool M_bitlist_tohash(M_hash_stru64_t **hash_toint, M_hash_u64str_t **hash_tostr, M_bitlist_flags_t flags, const M_bitlist_t *list, char *error, size_t error_len)
M_bitlist_flags_t
Definition: m_bitlist.h:90
M_bool M_bitlist_hash_parse(M_uint64 *out, M_bitlist_flags_t flags, const M_hash_stru64_t *hash_toint, const char *data, unsigned char delim, char *error, size_t error_len)
@ M_BITLIST_FLAG_IGNORE_DUPLICATE_ID
Definition: m_bitlist.h:94
@ M_BITLIST_FLAG_IGNORE_UNKNOWN
Definition: m_bitlist.h:95
@ M_BITLIST_FLAG_CASE_SENSITIVE
Definition: m_bitlist.h:93
@ M_BITLIST_FLAG_DONT_REQUIRE_POWEROF2
Definition: m_bitlist.h:96
@ M_BITLIST_FLAG_DONT_TRIM_WHITESPACE
Definition: m_bitlist.h:92
@ M_BITLIST_FLAG_NONE
Definition: m_bitlist.h:91
Definition: m_bitlist.h:84
struct M_hash_stru64 M_hash_stru64_t
Definition: m_hash_stru64.h:51
struct M_hash_u64str M_hash_u64str_t
Definition: m_hash_u64str.h:52