FreeRDP
Loading...
Searching...
No Matches
offscreen.h
1
20#ifndef FREERDP_LIB_OFFSCREEN_CACHE_H
21#define FREERDP_LIB_OFFSCREEN_CACHE_H
22
23#include <freerdp/api.h>
24#include <freerdp/types.h>
25#include <freerdp/update.h>
26#include <freerdp/freerdp.h>
27
28#include <winpr/stream.h>
29
30typedef struct rdp_offscreen_cache rdpOffscreenCache;
31
32#ifdef __cplusplus
33extern "C"
34{
35#endif
36
37 FREERDP_LOCAL rdpBitmap* offscreen_cache_get(rdpOffscreenCache* offscreen_cache, UINT32 index);
38
39 FREERDP_LOCAL void offscreen_cache_register_callbacks(rdpUpdate* update);
40
41 FREERDP_LOCAL void offscreen_cache_free(rdpOffscreenCache* offscreen);
42
43 WINPR_ATTR_MALLOC(offscreen_cache_free, 1)
44 FREERDP_LOCAL rdpOffscreenCache* offscreen_cache_new(rdpContext* context);
45
46#ifdef __cplusplus
47}
48#endif
49
50#endif /* FREERDP_LIB_OFFSCREEN_CACHE_H */