cscg24-guacamole

CSCG 2024 Challenge 'Guacamole Mashup'
git clone https://git.sinitax.com/sinitax/cscg24-guacamole
Log | Files | Refs | sfeed.txt

cliprdr_utils.h (1820B)


      1/**
      2 * FreeRDP: A Remote Desktop Protocol Implementation
      3 * RDPDR utility functions
      4 *
      5 * Copyright 2022 Armin Novak <armin.novak@thincast.com>
      6 * Copyright 2022 Thincast Technologies GmbH
      7 *
      8 * Licensed under the Apache License, Version 2.0 (the "License");
      9 * you may not use this file except in compliance with the License.
     10 * You may obtain a copy of the License at
     11 *
     12 *     http://www.apache.org/licenses/LICENSE-2.0
     13 *
     14 * Unless required by applicable law or agreed to in writing, software
     15 * distributed under the License is distributed on an "AS IS" BASIS,
     16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     17 * See the License for the specific language governing permissions and
     18 * limitations under the License.
     19 */
     20
     21#ifndef FREERDP_UTILS_CLIPRDR_H
     22#define FREERDP_UTILS_CLIPRDR_H
     23
     24#include <winpr/wtypes.h>
     25#include <winpr/shell.h>
     26#include <freerdp/api.h>
     27
     28#ifdef __cplusplus
     29extern "C"
     30{
     31#endif
     32
     33	FREERDP_API UINT cliprdr_parse_file_list(const BYTE* format_data, UINT32 format_data_length,
     34	                                         FILEDESCRIPTORW** file_descriptor_array,
     35	                                         UINT32* file_descriptor_count);
     36	FREERDP_API UINT cliprdr_serialize_file_list(const FILEDESCRIPTORW* file_descriptor_array,
     37	                                             UINT32 file_descriptor_count, BYTE** format_data,
     38	                                             UINT32* format_data_length);
     39	FREERDP_API UINT cliprdr_serialize_file_list_ex(UINT32 flags,
     40	                                                const FILEDESCRIPTORW* file_descriptor_array,
     41	                                                UINT32 file_descriptor_count,
     42	                                                BYTE** format_data, UINT32* format_data_length);
     43
     44#ifdef __cplusplus
     45}
     46#endif
     47
     48#endif