mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 08:54:38 +09:00
freerdp: get rid of old types
This commit is contained in:
12
include/freerdp/cache/bitmap.h
vendored
12
include/freerdp/cache/bitmap.h
vendored
@@ -33,7 +33,7 @@ typedef struct rdp_bitmap_cache rdpBitmapCache;
|
||||
|
||||
struct _BITMAP_V2_CELL
|
||||
{
|
||||
uint32 number;
|
||||
UINT32 number;
|
||||
rdpBitmap** entries;
|
||||
};
|
||||
|
||||
@@ -45,11 +45,11 @@ struct rdp_bitmap_cache
|
||||
pCacheBitmapV2 CacheBitmapV2; /* 3 */
|
||||
pCacheBitmapV3 CacheBitmapV3; /* 4 */
|
||||
pBitmapUpdate BitmapUpdate; /* 5 */
|
||||
uint32 paddingA[16 - 6]; /* 6 */
|
||||
UINT32 paddingA[16 - 6]; /* 6 */
|
||||
|
||||
uint32 maxCells; /* 16 */
|
||||
UINT32 maxCells; /* 16 */
|
||||
BITMAP_V2_CELL* cells; /* 17 */
|
||||
uint32 paddingB[32 - 18]; /* 18 */
|
||||
UINT32 paddingB[32 - 18]; /* 18 */
|
||||
|
||||
/* internal */
|
||||
|
||||
@@ -59,8 +59,8 @@ struct rdp_bitmap_cache
|
||||
rdpSettings* settings;
|
||||
};
|
||||
|
||||
FREERDP_API rdpBitmap* bitmap_cache_get(rdpBitmapCache* bitmap_cache, uint32 id, uint32 index);
|
||||
FREERDP_API void bitmap_cache_put(rdpBitmapCache* bitmap_cache, uint32 id, uint32 index, rdpBitmap* bitmap);
|
||||
FREERDP_API rdpBitmap* bitmap_cache_get(rdpBitmapCache* bitmap_cache, UINT32 id, UINT32 index);
|
||||
FREERDP_API void bitmap_cache_put(rdpBitmapCache* bitmap_cache, UINT32 id, UINT32 index, rdpBitmap* bitmap);
|
||||
|
||||
FREERDP_API void bitmap_cache_register_callbacks(rdpUpdate* update);
|
||||
|
||||
|
||||
14
include/freerdp/cache/brush.h
vendored
14
include/freerdp/cache/brush.h
vendored
@@ -33,7 +33,7 @@ typedef struct rdp_brush_cache rdpBrushCache;
|
||||
|
||||
struct _BRUSH_ENTRY
|
||||
{
|
||||
uint32 bpp;
|
||||
UINT32 bpp;
|
||||
void* entry;
|
||||
};
|
||||
|
||||
@@ -43,21 +43,21 @@ struct rdp_brush_cache
|
||||
pCacheBrush CacheBrush; /* 1 */
|
||||
pPolygonSC PolygonSC; /* 2 */
|
||||
pPolygonCB PolygonCB; /* 3 */
|
||||
uint32 paddingA[16 - 4]; /* 4 */
|
||||
UINT32 paddingA[16 - 4]; /* 4 */
|
||||
|
||||
uint32 maxEntries; /* 16 */
|
||||
uint32 maxMonoEntries; /* 17 */
|
||||
UINT32 maxEntries; /* 16 */
|
||||
UINT32 maxMonoEntries; /* 17 */
|
||||
BRUSH_ENTRY* entries; /* 18 */
|
||||
BRUSH_ENTRY* monoEntries; /* 19 */
|
||||
uint32 paddingB[32 - 20]; /* 20 */
|
||||
UINT32 paddingB[32 - 20]; /* 20 */
|
||||
|
||||
/* internal */
|
||||
|
||||
rdpSettings* settings;
|
||||
};
|
||||
|
||||
FREERDP_API void* brush_cache_get(rdpBrushCache* brush, uint32 index, uint32* bpp);
|
||||
FREERDP_API void brush_cache_put(rdpBrushCache* brush, uint32 index, void* entry, uint32 bpp);
|
||||
FREERDP_API void* brush_cache_get(rdpBrushCache* brush, UINT32 index, UINT32* bpp);
|
||||
FREERDP_API void brush_cache_put(rdpBrushCache* brush, UINT32 index, void* entry, UINT32 bpp);
|
||||
|
||||
FREERDP_API void brush_cache_register_callbacks(rdpUpdate* update);
|
||||
|
||||
|
||||
14
include/freerdp/cache/glyph.h
vendored
14
include/freerdp/cache/glyph.h
vendored
@@ -34,15 +34,15 @@ typedef struct rdp_glyph_cache rdpGlyphCache;
|
||||
|
||||
struct _GLYPH_CACHE
|
||||
{
|
||||
uint32 number;
|
||||
uint32 maxCellSize;
|
||||
UINT32 number;
|
||||
UINT32 maxCellSize;
|
||||
rdpGlyph** entries;
|
||||
};
|
||||
|
||||
struct _FRAGMENT_CACHE_ENTRY
|
||||
{
|
||||
void* fragment;
|
||||
uint32 size;
|
||||
UINT32 size;
|
||||
};
|
||||
|
||||
struct _FRAGMENT_CACHE
|
||||
@@ -59,11 +59,11 @@ struct rdp_glyph_cache
|
||||
rdpSettings* settings;
|
||||
};
|
||||
|
||||
FREERDP_API rdpGlyph* glyph_cache_get(rdpGlyphCache* glyph_cache, uint32 id, uint32 index);
|
||||
FREERDP_API void glyph_cache_put(rdpGlyphCache* glyph_cache, uint32 id, uint32 index, rdpGlyph* entry);
|
||||
FREERDP_API rdpGlyph* glyph_cache_get(rdpGlyphCache* glyph_cache, UINT32 id, UINT32 index);
|
||||
FREERDP_API void glyph_cache_put(rdpGlyphCache* glyph_cache, UINT32 id, UINT32 index, rdpGlyph* entry);
|
||||
|
||||
FREERDP_API void* glyph_cache_fragment_get(rdpGlyphCache* glyph, uint32 index, uint32* count);
|
||||
FREERDP_API void glyph_cache_fragment_put(rdpGlyphCache* glyph, uint32 index, uint32 count, void* entry);
|
||||
FREERDP_API void* glyph_cache_fragment_get(rdpGlyphCache* glyph, UINT32 index, UINT32* count);
|
||||
FREERDP_API void glyph_cache_fragment_put(rdpGlyphCache* glyph, UINT32 index, UINT32 count, void* entry);
|
||||
|
||||
FREERDP_API void glyph_cache_register_callbacks(rdpUpdate* update);
|
||||
|
||||
|
||||
12
include/freerdp/cache/nine_grid.h
vendored
12
include/freerdp/cache/nine_grid.h
vendored
@@ -40,20 +40,20 @@ struct rdp_nine_grid_cache
|
||||
{
|
||||
pDrawNineGrid DrawNineGrid; /* 0 */
|
||||
pMultiDrawNineGrid MultiDrawNineGrid; /* 1 */
|
||||
uint32 paddingA[16 - 2]; /* 2 */
|
||||
UINT32 paddingA[16 - 2]; /* 2 */
|
||||
|
||||
uint32 maxEntries; /* 16 */
|
||||
uint32 maxSize; /* 17 */
|
||||
UINT32 maxEntries; /* 16 */
|
||||
UINT32 maxSize; /* 17 */
|
||||
NINE_GRID_ENTRY* entries; /* 18 */
|
||||
uint32 paddingB[32 - 19]; /* 19 */
|
||||
UINT32 paddingB[32 - 19]; /* 19 */
|
||||
|
||||
/* internal */
|
||||
|
||||
rdpSettings* settings;
|
||||
};
|
||||
|
||||
FREERDP_API void* nine_grid_cache_get(rdpNineGridCache* nine_grid, uint32 index);
|
||||
FREERDP_API void nine_grid_cache_put(rdpNineGridCache* nine_grid, uint32 index, void* entry);
|
||||
FREERDP_API void* nine_grid_cache_get(rdpNineGridCache* nine_grid, UINT32 index);
|
||||
FREERDP_API void nine_grid_cache_put(rdpNineGridCache* nine_grid, UINT32 index, void* entry);
|
||||
|
||||
FREERDP_API void nine_grid_cache_register_callbacks(rdpUpdate* update);
|
||||
|
||||
|
||||
12
include/freerdp/cache/offscreen.h
vendored
12
include/freerdp/cache/offscreen.h
vendored
@@ -32,10 +32,10 @@ typedef struct rdp_offscreen_cache rdpOffscreenCache;
|
||||
|
||||
struct rdp_offscreen_cache
|
||||
{
|
||||
uint32 maxSize; /* 0 */
|
||||
uint32 maxEntries; /* 1 */
|
||||
UINT32 maxSize; /* 0 */
|
||||
UINT32 maxEntries; /* 1 */
|
||||
rdpBitmap** entries; /* 2 */
|
||||
uint32 currentSurface; /* 3 */
|
||||
UINT32 currentSurface; /* 3 */
|
||||
|
||||
/* internal */
|
||||
|
||||
@@ -43,9 +43,9 @@ struct rdp_offscreen_cache
|
||||
rdpSettings* settings;
|
||||
};
|
||||
|
||||
FREERDP_API rdpBitmap* offscreen_cache_get(rdpOffscreenCache* offscreen_cache, uint32 index);
|
||||
FREERDP_API void offscreen_cache_put(rdpOffscreenCache* offscreen_cache, uint32 index, rdpBitmap* bitmap);
|
||||
FREERDP_API void offscreen_cache_delete(rdpOffscreenCache* offscreen, uint32 index);
|
||||
FREERDP_API rdpBitmap* offscreen_cache_get(rdpOffscreenCache* offscreen_cache, UINT32 index);
|
||||
FREERDP_API void offscreen_cache_put(rdpOffscreenCache* offscreen_cache, UINT32 index, rdpBitmap* bitmap);
|
||||
FREERDP_API void offscreen_cache_delete(rdpOffscreenCache* offscreen, UINT32 index);
|
||||
|
||||
FREERDP_API void offscreen_cache_register_callbacks(rdpUpdate* update);
|
||||
|
||||
|
||||
6
include/freerdp/cache/palette.h
vendored
6
include/freerdp/cache/palette.h
vendored
@@ -38,7 +38,7 @@ struct _PALETTE_TABLE_ENTRY
|
||||
|
||||
struct rdp_palette_cache
|
||||
{
|
||||
uint32 maxEntries; /* 0 */
|
||||
UINT32 maxEntries; /* 0 */
|
||||
PALETTE_TABLE_ENTRY* entries; /* 1 */
|
||||
|
||||
/* internal */
|
||||
@@ -46,8 +46,8 @@ struct rdp_palette_cache
|
||||
rdpSettings* settings;
|
||||
};
|
||||
|
||||
FREERDP_API void* palette_cache_get(rdpPaletteCache* palette, uint32 index);
|
||||
FREERDP_API void palette_cache_put(rdpPaletteCache* palette, uint32 index, void* entry);
|
||||
FREERDP_API void* palette_cache_get(rdpPaletteCache* palette, UINT32 index);
|
||||
FREERDP_API void palette_cache_put(rdpPaletteCache* palette, UINT32 index, void* entry);
|
||||
|
||||
FREERDP_API void palette_cache_register_callbacks(rdpUpdate* update);
|
||||
|
||||
|
||||
6
include/freerdp/cache/pointer.h
vendored
6
include/freerdp/cache/pointer.h
vendored
@@ -33,7 +33,7 @@ typedef struct rdp_pointer_cache rdpPointerCache;
|
||||
|
||||
struct rdp_pointer_cache
|
||||
{
|
||||
uint32 cacheSize; /* 0 */
|
||||
UINT32 cacheSize; /* 0 */
|
||||
rdpPointer** entries; /* 1 */
|
||||
|
||||
/* internal */
|
||||
@@ -42,8 +42,8 @@ struct rdp_pointer_cache
|
||||
rdpSettings* settings;
|
||||
};
|
||||
|
||||
FREERDP_API rdpPointer* pointer_cache_get(rdpPointerCache* pointer_cache, uint32 index);
|
||||
FREERDP_API void pointer_cache_put(rdpPointerCache* pointer_cache, uint32 index, rdpPointer* pointer);
|
||||
FREERDP_API rdpPointer* pointer_cache_get(rdpPointerCache* pointer_cache, UINT32 index);
|
||||
FREERDP_API void pointer_cache_put(rdpPointerCache* pointer_cache, UINT32 index, rdpPointer* pointer);
|
||||
|
||||
FREERDP_API void pointer_cache_register_callbacks(rdpUpdate* update);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user