2013-08-19 05:52:55 +04:00
|
|
|
/**
|
|
|
|
* FreeRDP: A Remote Desktop Protocol Implementation
|
|
|
|
* Dynamic Virtual Channel Extension
|
|
|
|
*
|
|
|
|
* Copyright 2013 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
2015-05-29 15:02:31 +03:00
|
|
|
* Copyright 2015 Thincast Technologies GmbH
|
|
|
|
* Copyright 2015 DI (FH) Martin Haimberger <martin.haimberger@thincast.com>
|
2013-08-19 05:52:55 +04:00
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2017-06-06 15:01:41 +03:00
|
|
|
#ifndef FREERDP_CHANNEL_DRDYNVC_SERVER_DRDYNVC_H
|
|
|
|
#define FREERDP_CHANNEL_DRDYNVC_SERVER_DRDYNVC_H
|
2013-08-19 05:52:55 +04:00
|
|
|
|
|
|
|
#include <freerdp/api.h>
|
|
|
|
#include <freerdp/types.h>
|
|
|
|
#include <freerdp/channels/wtsvc.h>
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Server Interface
|
|
|
|
*/
|
|
|
|
|
|
|
|
typedef struct _drdynvc_client_context DrdynvcServerContext;
|
|
|
|
typedef struct _drdynvc_server_private DrdynvcServerPrivate;
|
|
|
|
|
2015-08-27 15:25:09 +03:00
|
|
|
typedef UINT (*psDrdynvcStart)(DrdynvcServerContext* context);
|
|
|
|
typedef UINT (*psDrdynvcStop)(DrdynvcServerContext* context);
|
2013-08-19 05:52:55 +04:00
|
|
|
|
|
|
|
struct _drdynvc_client_context
|
|
|
|
{
|
2014-02-27 22:30:04 +04:00
|
|
|
HANDLE vcm;
|
2013-08-19 05:52:55 +04:00
|
|
|
|
|
|
|
psDrdynvcStart Start;
|
|
|
|
psDrdynvcStop Stop;
|
|
|
|
|
|
|
|
DrdynvcServerPrivate* priv;
|
|
|
|
};
|
|
|
|
|
2014-12-01 15:12:51 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2014-02-27 22:30:04 +04:00
|
|
|
FREERDP_API DrdynvcServerContext* drdynvc_server_context_new(HANDLE vcm);
|
2013-08-19 05:52:55 +04:00
|
|
|
FREERDP_API void drdynvc_server_context_free(DrdynvcServerContext* context);
|
|
|
|
|
2014-12-01 15:12:51 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2017-06-06 15:01:41 +03:00
|
|
|
#endif /* FREERDP_CHANNEL_DRDYNVC_SERVER_DRDYNVC_H */
|