|
static bool | _wlmcfg_object_init (wlmcfg_object_t *object_ptr, wlmcfg_type_t type, void(*destroy_fn)(wlmcfg_object_t *object_ptr)) |
|
static void | _wlmcfg_string_object_destroy (wlmcfg_object_t *object_ptr) |
|
static void | _wlmcfg_dict_object_destroy (wlmcfg_object_t *object_ptr) |
|
static void | _wlmcfg_array_object_destroy (wlmcfg_object_t *object_ptr) |
|
static wlmcfg_dict_item_t * | _wlmcfg_dict_item_create (const char *key_ptr, wlmcfg_object_t *object_ptr) |
|
static void | _wlmcfg_dict_item_destroy (wlmcfg_dict_item_t *item_ptr) |
|
static int | _wlmcfg_dict_item_node_cmp (const bs_avltree_node_t *node_ptr, const void *key_ptr) |
|
static void | _wlmcfg_dict_item_node_destroy (bs_avltree_node_t *node_ptr) |
|
wlmcfg_object_t * | wlmcfg_object_ref (wlmcfg_object_t *object_ptr) |
|
void | wlmcfg_object_unref (wlmcfg_object_t *object_ptr) |
|
wlmcfg_string_t * | wlmcfg_string_create (const char *value_ptr) |
|
const char * | wlmcfg_string_value (const wlmcfg_string_t *string_ptr) |
|
wlmcfg_object_t * | wlmcfg_object_from_string (wlmcfg_string_t *string_ptr) |
|
wlmcfg_string_t * | wlmcfg_string_from_object (wlmcfg_object_t *object_ptr) |
|
wlmcfg_dict_t * | wlmcfg_dict_create (void) |
|
bool | wlmcfg_dict_add (wlmcfg_dict_t *dict_ptr, const char *key_ptr, wlmcfg_object_t *object_ptr) |
|
wlmcfg_object_t * | wlmcfg_dict_get (wlmcfg_dict_t *dict_ptr, const char *key_ptr) |
|
wlmcfg_object_t * | wlmcfg_object_from_dict (wlmcfg_dict_t *dict_ptr) |
|
wlmcfg_dict_t * | wlmcfg_dict_from_object (wlmcfg_object_t *object_ptr) |
|
bool | wlmcfg_dict_foreach (wlmcfg_dict_t *dict_ptr, bool(*fn)(const char *key_ptr, wlmcfg_object_t *object_ptr, void *userdata_ptr), void *userdata_ptr) |
|
wlmcfg_array_t * | wlmcfg_array_create (void) |
|
bool | wlmcfg_array_push_back (wlmcfg_array_t *array_ptr, wlmcfg_object_t *object_ptr) |
|
size_t | wlmcfg_array_size (wlmcfg_array_t *array_ptr) |
|
wlmcfg_object_t * | wlmcfg_array_at (wlmcfg_array_t *array_ptr, size_t index) |
|
wlmcfg_object_t * | wlmcfg_object_from_array (wlmcfg_array_t *array_ptr) |
|
wlmcfg_array_t * | wlmcfg_array_from_object (wlmcfg_object_t *object_ptr) |
|
static void | test_string (bs_test_t *test_ptr) |
|
static void | test_dict (bs_test_t *test_ptr) |
|
static void | test_array (bs_test_t *test_ptr) |
|
static bool | foreach_callback (const char *key_ptr, wlmcfg_object_t *object_ptr, void *userdata_ptr) |
|
- Copyright
- Copyright 2024 Google LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.