eid-viewer
eid-viewer library
Loading...
Searching...
No Matches
cache.h
1#ifndef EID_VWR_CACHE_H
2#define EID_VWR_CACHE_H
3
4#include <eid-util/utftranslate.h>
5
6#ifdef __cplusplus
7extern "C"
8{
9#endif
10
12 {
13 void *data;
14 int len;
15 };
16
17#ifndef WIN32
18#include <stdint.h>
19 typedef uint8_t BYTE;
20#endif
21
22 void cache_add(const EID_CHAR * label, EID_CHAR * data,
23 unsigned long len);
24 void cache_add_bin(const EID_CHAR * label, BYTE * data,
25 unsigned long len);
26 const struct eid_vwr_cache_item *cache_get_data(const EID_CHAR *
27 label);
28 void *cache_label_iterator(void);
29 const EID_CHAR *cache_next_label(void *iterator);
30 void cache_label_iterator_free(void *iterator);
31 int cache_clear(void);
32 int cache_have_label(const EID_CHAR * label);
33 EID_CHAR *cache_get_xmlform(const EID_CHAR * label);
34
35#ifdef __cplusplus
36}
37#endif
38
39#endif
Definition cache.h:12