From 7626a2ce6a33c0cc976a69c0b8365d961fabe090 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Fri, 29 Apr 2022 10:14:00 +0200 Subject: [PATCH] Added C++ guards to header --- include/freerdp/utils/cliprdr_utils.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/include/freerdp/utils/cliprdr_utils.h b/include/freerdp/utils/cliprdr_utils.h index 31d995439..59ecf848f 100644 --- a/include/freerdp/utils/cliprdr_utils.h +++ b/include/freerdp/utils/cliprdr_utils.h @@ -25,15 +25,24 @@ #include #include -FREERDP_API UINT cliprdr_parse_file_list(const BYTE* format_data, UINT32 format_data_length, +#ifdef __cplusplus +extern "C" +{ +#endif + + FREERDP_API UINT cliprdr_parse_file_list(const BYTE* format_data, UINT32 format_data_length, FILEDESCRIPTORW** file_descriptor_array, UINT32* file_descriptor_count); -FREERDP_API UINT cliprdr_serialize_file_list(const FILEDESCRIPTORW* file_descriptor_array, + FREERDP_API UINT cliprdr_serialize_file_list(const FILEDESCRIPTORW* file_descriptor_array, UINT32 file_descriptor_count, BYTE** format_data, UINT32* format_data_length); -FREERDP_API UINT cliprdr_serialize_file_list_ex(UINT32 flags, + FREERDP_API UINT cliprdr_serialize_file_list_ex(UINT32 flags, const FILEDESCRIPTORW* file_descriptor_array, UINT32 file_descriptor_count, BYTE** format_data, UINT32* format_data_length); +#ifdef __cplusplus +} +#endif + #endif