mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 09:33:39 +01:00
17 lines
454 B
C
17 lines
454 B
C
#pragma once
|
|
|
|
#ifndef FASTFETCH_INCLUDED_FFVALUESTORE
|
|
#define FASTFETCH_INCLUDED_FFVALUESTORE
|
|
|
|
#include "FFlist.h"
|
|
#include "FFcheckmacros.h"
|
|
|
|
typedef FFlist FFvaluestore;
|
|
|
|
void ffValuestoreInit(FFvaluestore* vs, uint32_t valueSize);
|
|
FF_C_NODISCARD void* ffValuestoreGet(FFvaluestore* vs, const char* key);
|
|
void* ffValuestoreSet(FFvaluestore* vs, const char* key, bool* created); //created may be NULL
|
|
void ffValuestoreDestroy(FFvaluestore* vs);
|
|
|
|
#endif
|