cscg24-guacamole

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

drdynvc.h (1715B)


      1/**
      2 * FreeRDP: A Remote Desktop Protocol Implementation
      3 * Dynamic Virtual Channel Extension
      4 *
      5 * Copyright 2013 Marc-Andre Moreau <marcandre.moreau@gmail.com>
      6 * Copyright 2015 Thincast Technologies GmbH
      7 * Copyright 2015 DI (FH) Martin Haimberger <martin.haimberger@thincast.com>
      8 *
      9 * Licensed under the Apache License, Version 2.0 (the "License");
     10 * you may not use this file except in compliance with the License.
     11 * You may obtain a copy of the License at
     12 *
     13 *     http://www.apache.org/licenses/LICENSE-2.0
     14 *
     15 * Unless required by applicable law or agreed to in writing, software
     16 * distributed under the License is distributed on an "AS IS" BASIS,
     17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     18 * See the License for the specific language governing permissions and
     19 * limitations under the License.
     20 */
     21
     22#ifndef FREERDP_CHANNEL_DRDYNVC_SERVER_DRDYNVC_H
     23#define FREERDP_CHANNEL_DRDYNVC_SERVER_DRDYNVC_H
     24
     25#include <freerdp/api.h>
     26#include <freerdp/types.h>
     27#include <freerdp/channels/wtsvc.h>
     28
     29/**
     30 * Server Interface
     31 */
     32
     33typedef struct _drdynvc_client_context DrdynvcServerContext;
     34typedef struct _drdynvc_server_private DrdynvcServerPrivate;
     35
     36typedef UINT (*psDrdynvcStart)(DrdynvcServerContext* context);
     37typedef UINT (*psDrdynvcStop)(DrdynvcServerContext* context);
     38
     39struct _drdynvc_client_context
     40{
     41	HANDLE vcm;
     42
     43	psDrdynvcStart Start;
     44	psDrdynvcStop Stop;
     45
     46	DrdynvcServerPrivate* priv;
     47};
     48
     49#ifdef __cplusplus
     50extern "C"
     51{
     52#endif
     53
     54	FREERDP_API DrdynvcServerContext* drdynvc_server_context_new(HANDLE vcm);
     55	FREERDP_API void drdynvc_server_context_free(DrdynvcServerContext* context);
     56
     57#ifdef __cplusplus
     58}
     59#endif
     60
     61#endif /* FREERDP_CHANNEL_DRDYNVC_SERVER_DRDYNVC_H */