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