blob: 4495ad7d316fbf8d5e7ad7fb8a9f48e0f4f14267 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef NETDATA_THREAD_CACHE_H
#define NETDATA_THREAD_CACHE_H
#include "../libnetdata.h"
void *thread_cache_entry_get_or_set(void *key,
ssize_t key_length,
void *value,
void *(*transform_the_value_before_insert)(void *key, size_t key_length, void *value));
void thread_cache_destroy(void);
#endif //NETDATA_THREAD_CACHE_H
|