20#ifndef FREERDP_LIB_OFFSCREEN_CACHE_H 
   21#define FREERDP_LIB_OFFSCREEN_CACHE_H 
   23#include <freerdp/api.h> 
   24#include <freerdp/types.h> 
   25#include <freerdp/update.h> 
   26#include <freerdp/freerdp.h> 
   28#include <winpr/stream.h> 
   30typedef struct rdp_offscreen_cache rdpOffscreenCache;
 
   37  FREERDP_LOCAL rdpBitmap* offscreen_cache_get(rdpOffscreenCache* offscreen_cache, UINT32 index);
 
   39  FREERDP_LOCAL 
void offscreen_cache_register_callbacks(rdpUpdate* update);
 
   41  FREERDP_LOCAL 
void offscreen_cache_free(rdpOffscreenCache* offscreen);
 
   43  WINPR_ATTR_MALLOC(offscreen_cache_free, 1)
 
   44  FREERDP_LOCAL rdpOffscreenCache* offscreen_cache_new(rdpContext* context);