Structure for storing a compact group of mutable, variable-length character strings.
More...
|
|
MERROR_RETVAL | mdata_strpool_check_idx (struct MDATA_STRPOOL *sp, mdata_strpool_idx_t idx) |
| | Verify if the given mdata_strpool_idx_t is valid in the given strpool.
|
|
mdata_strpool_idx_t | mdata_strpool_find (struct MDATA_STRPOOL *sp, const char *str, size_t str_sz) |
|
MAUG_MHANDLE | mdata_strpool_extract (struct MDATA_STRPOOL *sp, mdata_strpool_idx_t idx) |
| | Return a dynamically-allocated memory handle containing the contents of the string at the given index.
|
|
mdata_strpool_idx_t | mdata_strpool_append (struct MDATA_STRPOOL *sp, const char *str, size_t str_sz, uint8_t flags) |
|
MERROR_RETVAL | mdata_strpool_remove (struct MDATA_STRPOOL *sp, mdata_strpool_idx_t idx) |
|
MERROR_RETVAL | mdata_strpool_alloc (struct MDATA_STRPOOL *sp, size_t alloc_sz) |
|
void | mdata_strpool_free (struct MDATA_STRPOOL *sp) |
Structure for storing a compact group of mutable, variable-length character strings.