24#ifndef __M_LIST_BIN_H__
25#define __M_LIST_BIN_H__
29#include <mstdlib/base/m_defs.h>
30#include <mstdlib/base/m_types.h>
size_t M_list_bin_count(const M_list_bin_t *d, const M_uint8 *val, size_t len)
M_list_bin_t * M_list_bin_create(M_uint32 flags) M_MALLOC
const M_uint8 * M_list_bin_at(const M_list_bin_t *d, size_t idx, size_t *len)
void M_list_bin_remove_duplicates(M_list_bin_t *d)
M_uint8 * M_list_bin_take_first(M_list_bin_t *d, size_t *len)
M_bool M_list_bin_insert(M_list_bin_t *d, const M_uint8 *val, size_t len)
M_list_bin_match_type_t
Definition: m_list_bin.h:98
M_bool M_list_bin_remove_first(M_list_bin_t *d)
M_uint8 * M_list_bin_take_last(M_list_bin_t *d, size_t *len)
const M_uint8 * M_list_bin_last(const M_list_bin_t *d, size_t *len)
M_uint8 * M_list_bin_take_at(M_list_bin_t *d, size_t idx, size_t *len)
M_bool M_list_bin_remove_at(M_list_bin_t *d, size_t idx)
M_list_bin_flags_t
Definition: m_list_bin.h:85
void M_list_bin_destroy(M_list_bin_t *d) M_FREE(1)
struct M_list_bin M_list_bin_t
Definition: m_list_bin.h:81
M_bool M_list_bin_replace_at(M_list_bin_t *d, const M_uint8 *val, size_t len, size_t idx)
size_t M_list_bin_len(const M_list_bin_t *d)
M_list_bin_t * M_list_bin_duplicate(const M_list_bin_t *d) M_MALLOC
M_bool M_list_bin_insert_at(M_list_bin_t *d, const M_uint8 *val, size_t len, size_t idx)
M_bool M_list_bin_index_of(const M_list_bin_t *d, const M_uint8 *val, size_t len, size_t *idx)
M_bool M_list_bin_remove_last(M_list_bin_t *d)
size_t M_list_bin_insert_idx(const M_list_bin_t *d, const M_uint8 *val, size_t len)
M_bool M_list_bin_remove_range(M_list_bin_t *d, size_t start, size_t end)
M_bool M_list_bin_swap(M_list_bin_t *d, size_t idx1, size_t idx2)
size_t M_list_bin_replace_val(M_list_bin_t *d, const M_uint8 *val, size_t len, const M_uint8 *new_val, size_t new_len, M_uint32 type)
void M_list_bin_merge(M_list_bin_t **dest, M_list_bin_t *src, M_bool include_duplicates) M_FREE(2)
const M_uint8 * M_list_bin_first(const M_list_bin_t *d, size_t *len)
size_t M_list_bin_remove_val(M_list_bin_t *d, const M_uint8 *val, size_t len, M_uint32 type)
@ M_LIST_BIN_MATCH_VAL
Definition: m_list_bin.h:99
@ M_LIST_BIN_MATCH_ALL
Definition: m_list_bin.h:100
@ M_LIST_BIN_NEVERSHRINK
Definition: m_list_bin.h:93
@ M_LIST_BIN_SET
Definition: m_list_bin.h:88
@ M_LIST_BIN_STACK
Definition: m_list_bin.h:87
@ M_LIST_BIN_NONE
Definition: m_list_bin.h:86