include/freerdp/cache: fix missing extern C decls.
This commit is contained in:
parent
dd2852abae
commit
dfaa372cd8
8
include/freerdp/cache/bitmap.h
vendored
8
include/freerdp/cache/bitmap.h
vendored
@ -59,6 +59,10 @@ struct rdp_bitmap_cache
|
||||
rdpSettings* settings;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
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);
|
||||
|
||||
@ -67,4 +71,8 @@ FREERDP_API void bitmap_cache_register_callbacks(rdpUpdate* update);
|
||||
FREERDP_API rdpBitmapCache* bitmap_cache_new(rdpSettings* settings);
|
||||
FREERDP_API void bitmap_cache_free(rdpBitmapCache* bitmap_cache);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FREERDP_BITMAP_V2_CACHE_H */
|
||||
|
8
include/freerdp/cache/brush.h
vendored
8
include/freerdp/cache/brush.h
vendored
@ -56,6 +56,10 @@ struct rdp_brush_cache
|
||||
rdpSettings* settings;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
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);
|
||||
|
||||
@ -64,4 +68,8 @@ FREERDP_API void brush_cache_register_callbacks(rdpUpdate* update);
|
||||
FREERDP_API rdpBrushCache* brush_cache_new(rdpSettings* settings);
|
||||
FREERDP_API void brush_cache_free(rdpBrushCache* brush);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FREERDP_BRUSH_CACHE_H */
|
||||
|
8
include/freerdp/cache/cache.h
vendored
8
include/freerdp/cache/cache.h
vendored
@ -48,7 +48,15 @@ struct rdp_cache
|
||||
rdpSettings* settings;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
FREERDP_API rdpCache* cache_new(rdpSettings* settings);
|
||||
FREERDP_API void cache_free(rdpCache* cache);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FREERDP_CACHE_H */
|
||||
|
8
include/freerdp/cache/glyph.h
vendored
8
include/freerdp/cache/glyph.h
vendored
@ -59,6 +59,10 @@ struct rdp_glyph_cache
|
||||
rdpSettings* settings;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
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);
|
||||
|
||||
@ -70,4 +74,8 @@ FREERDP_API void glyph_cache_register_callbacks(rdpUpdate* update);
|
||||
FREERDP_API rdpGlyphCache* glyph_cache_new(rdpSettings* settings);
|
||||
FREERDP_API void glyph_cache_free(rdpGlyphCache* glyph);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FREERDP_GLYPH_CACHE_H */
|
||||
|
8
include/freerdp/cache/nine_grid.h
vendored
8
include/freerdp/cache/nine_grid.h
vendored
@ -52,6 +52,10 @@ struct rdp_nine_grid_cache
|
||||
rdpSettings* settings;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
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);
|
||||
|
||||
@ -60,4 +64,8 @@ FREERDP_API void nine_grid_cache_register_callbacks(rdpUpdate* update);
|
||||
FREERDP_API rdpNineGridCache* nine_grid_cache_new(rdpSettings* settings);
|
||||
FREERDP_API void nine_grid_cache_free(rdpNineGridCache* nine_grid);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FREERDP_NINE_GRID_CACHE_H */
|
||||
|
8
include/freerdp/cache/offscreen.h
vendored
8
include/freerdp/cache/offscreen.h
vendored
@ -43,6 +43,10 @@ struct rdp_offscreen_cache
|
||||
rdpSettings* settings;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
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);
|
||||
@ -52,4 +56,8 @@ FREERDP_API void offscreen_cache_register_callbacks(rdpUpdate* update);
|
||||
FREERDP_API rdpOffscreenCache* offscreen_cache_new(rdpSettings* settings);
|
||||
FREERDP_API void offscreen_cache_free(rdpOffscreenCache* offscreen);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FREERDP_OFFSCREEN_CACHE_H */
|
||||
|
8
include/freerdp/cache/palette.h
vendored
8
include/freerdp/cache/palette.h
vendored
@ -46,6 +46,10 @@ struct rdp_palette_cache
|
||||
rdpSettings* settings;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
FREERDP_API void* palette_cache_get(rdpPaletteCache* palette, UINT32 index);
|
||||
FREERDP_API void palette_cache_put(rdpPaletteCache* palette, UINT32 index, void* entry);
|
||||
|
||||
@ -54,4 +58,8 @@ FREERDP_API void palette_cache_register_callbacks(rdpUpdate* update);
|
||||
FREERDP_API rdpPaletteCache* palette_cache_new(rdpSettings* settings);
|
||||
FREERDP_API void palette_cache_free(rdpPaletteCache* palette_cache);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FREERDP_PALETTE_CACHE_H */
|
||||
|
8
include/freerdp/cache/pointer.h
vendored
8
include/freerdp/cache/pointer.h
vendored
@ -42,6 +42,10 @@ struct rdp_pointer_cache
|
||||
rdpSettings* settings;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
FREERDP_API rdpPointer* pointer_cache_get(rdpPointerCache* pointer_cache, UINT32 index);
|
||||
FREERDP_API void pointer_cache_put(rdpPointerCache* pointer_cache, UINT32 index, rdpPointer* pointer);
|
||||
|
||||
@ -50,4 +54,8 @@ FREERDP_API void pointer_cache_register_callbacks(rdpUpdate* update);
|
||||
FREERDP_API rdpPointerCache* pointer_cache_new(rdpSettings* settings);
|
||||
FREERDP_API void pointer_cache_free(rdpPointerCache* pointer_cache);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FREERDP_POINTER_CACHE_H */
|
||||
|
Loading…
Reference in New Issue
Block a user