20 #ifndef FREERDP_LIB_CACHE_CACHE_H
21 #define FREERDP_LIB_CACHE_CACHE_H
23 #include <freerdp/api.h>
24 #include <freerdp/freerdp.h>
25 #include <freerdp/pointer.h>
31 #include "nine_grid.h"
32 #include "offscreen.h"
39 rdpPointerCache* pointer;
41 rdpOffscreenCache* offscreen;
42 rdpPaletteCache* palette;
43 rdpNineGridCache* nine_grid;
51 FREERDP_LOCAL
void cache_free(rdpCache* cache);
53 WINPR_ATTR_MALLOC(cache_free, 1)
54 FREERDP_LOCAL rdpCache* cache_new(rdpContext* context);
56 FREERDP_LOCAL
void free_cache_color_table_order(rdpContext* context,
59 WINPR_ATTR_MALLOC(free_cache_color_table_order, 2)
65 WINPR_ATTR_MALLOC(free_surface_bits_command, 2)