diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-26 18:25:04 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-26 18:25:53 +0530 |
commit | 9376c06ded47c4b77b94cb4d1e628537d9d69fce (patch) | |
tree | 25297ed59e75133ff6ee410716606a103f88644b /include/list.h | |
parent | a3b18ea4019f44185a495afd4be66350f217c144 (diff) |
config,main,list: get resources from config.cfg instead of a compiled config.h
Diffstat (limited to 'include/list.h')
-rw-r--r-- | include/list.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/list.h b/include/list.h index 4447884..b6342d1 100644 --- a/include/list.h +++ b/include/list.h @@ -14,9 +14,16 @@ typedef struct { uint8_t *elements; } list_t; +typedef struct { + void *ptr; +} ptr_wrapper_t; + list_t *list_create(size_t element_size); void list_add(list_t *list, void *element); void *list_get(list_t *list, size_t i); void list_delete(list_t *list); +void *list_find_corresponding_value_from_ptr_wrapper(list_t *keys, + list_t *values, + char *key); #endif |