Blame include/freerdp/client/rail.h

Packit 1fb8d4
/**
Packit 1fb8d4
 * FreeRDP: A Remote Desktop Protocol Implementation
Packit 1fb8d4
 * Remote Applications Integrated Locally (RAIL)
Packit 1fb8d4
 *
Packit 1fb8d4
 * Copyright 2013 Marc-Andre Moreau <marcandre.moreau@gmail.com>
Packit 1fb8d4
 *
Packit 1fb8d4
 * Licensed under the Apache License, Version 2.0 (the "License");
Packit 1fb8d4
 * you may not use this file except in compliance with the License.
Packit 1fb8d4
 * You may obtain a copy of the License at
Packit 1fb8d4
 *
Packit 1fb8d4
 *	 http://www.apache.org/licenses/LICENSE-2.0
Packit 1fb8d4
 *
Packit 1fb8d4
 * Unless required by applicable law or agreed to in writing, software
Packit 1fb8d4
 * distributed under the License is distributed on an "AS IS" BASIS,
Packit 1fb8d4
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Packit 1fb8d4
 * See the License for the specific language governing permissions and
Packit 1fb8d4
 * limitations under the License.
Packit 1fb8d4
 */
Packit 1fb8d4
Packit 1fb8d4
#ifndef FREERDP_CHANNEL_RAIL_CLIENT_RAIL_H
Packit 1fb8d4
#define FREERDP_CHANNEL_RAIL_CLIENT_RAIL_H
Packit 1fb8d4
Packit 1fb8d4
#include <freerdp/api.h>
Packit 1fb8d4
#include <freerdp/types.h>
Packit 1fb8d4
Packit 1fb8d4
#include <freerdp/rail.h>
Packit 1fb8d4
#include <freerdp/message.h>
Packit 1fb8d4
#include <freerdp/channels/rail.h>
Packit 1fb8d4
Packit 1fb8d4
/**
Packit 1fb8d4
 * Client Interface
Packit 1fb8d4
 */
Packit 1fb8d4
Packit 1fb8d4
#define RAIL_SVC_CHANNEL_NAME	"rail"
Packit 1fb8d4
Packit 1fb8d4
typedef struct _rail_client_context RailClientContext;
Packit 1fb8d4
Packit 1fb8d4
typedef UINT(*pcRailClientExecute)(RailClientContext* context, const RAIL_EXEC_ORDER* exec);
Packit 1fb8d4
typedef UINT(*pcRailClientActivate)(RailClientContext* context,
Packit 1fb8d4
                                    const RAIL_ACTIVATE_ORDER* activate);
Packit 1fb8d4
typedef UINT(*pcRailClientSystemParam)(RailClientContext* context,
Packit 1fb8d4
                                       const RAIL_SYSPARAM_ORDER* sysparam);
Packit 1fb8d4
typedef UINT(*pcRailServerSystemParam)(RailClientContext* context,
Packit 1fb8d4
                                       const RAIL_SYSPARAM_ORDER* sysparam);
Packit 1fb8d4
typedef UINT(*pcRailClientSystemCommand)(RailClientContext* context,
Packit 1fb8d4
        const RAIL_SYSCOMMAND_ORDER* syscommand);
Packit 1fb8d4
typedef UINT(*pcRailClientHandshake)(RailClientContext* context,
Packit 1fb8d4
                                     const RAIL_HANDSHAKE_ORDER* handshake);
Packit 1fb8d4
typedef UINT(*pcRailServerHandshake)(RailClientContext* context,
Packit 1fb8d4
                                     const RAIL_HANDSHAKE_ORDER* handshake);
Packit 1fb8d4
typedef UINT(*pcRailClientHandshakeEx)(RailClientContext* context,
Packit 1fb8d4
                                       const RAIL_HANDSHAKE_EX_ORDER* handshakeEx);
Packit 1fb8d4
typedef UINT(*pcRailServerHandshakeEx)(RailClientContext* context,
Packit 1fb8d4
                                       const RAIL_HANDSHAKE_EX_ORDER* handshakeEx);
Packit 1fb8d4
typedef UINT(*pcRailClientNotifyEvent)(RailClientContext* context,
Packit 1fb8d4
                                       const RAIL_NOTIFY_EVENT_ORDER* notifyEvent);
Packit 1fb8d4
typedef UINT(*pcRailClientWindowMove)(RailClientContext* context,
Packit 1fb8d4
                                      const RAIL_WINDOW_MOVE_ORDER* windowMove);
Packit 1fb8d4
typedef UINT(*pcRailServerLocalMoveSize)(RailClientContext* context,
Packit 1fb8d4
        const RAIL_LOCALMOVESIZE_ORDER* localMoveSize);
Packit 1fb8d4
typedef UINT(*pcRailServerMinMaxInfo)(RailClientContext* context,
Packit 1fb8d4
                                      const RAIL_MINMAXINFO_ORDER* minMaxInfo);
Packit 1fb8d4
typedef UINT(*pcRailClientInformation)(RailClientContext* context,
Packit 1fb8d4
                                       const RAIL_CLIENT_STATUS_ORDER* clientStatus);
Packit 1fb8d4
typedef UINT(*pcRailClientSystemMenu)(RailClientContext* context,
Packit 1fb8d4
                                      const RAIL_SYSMENU_ORDER* sysmenu);
Packit 1fb8d4
typedef UINT(*pcRailClientLanguageBarInfo)(RailClientContext* context,
Packit 1fb8d4
        const RAIL_LANGBAR_INFO_ORDER* langBarInfo);
Packit 1fb8d4
typedef UINT(*pcRailServerLanguageBarInfo)(RailClientContext* context,
Packit 1fb8d4
        const RAIL_LANGBAR_INFO_ORDER* langBarInfo);
Packit 1fb8d4
typedef UINT(*pcRailServerExecuteResult)(RailClientContext* context,
Packit 1fb8d4
        const RAIL_EXEC_RESULT_ORDER* execResult);
Packit 1fb8d4
typedef UINT(*pcRailClientGetAppIdRequest)(RailClientContext* context,
Packit 1fb8d4
        const RAIL_GET_APPID_REQ_ORDER* getAppIdReq);
Packit 1fb8d4
typedef UINT(*pcRailServerGetAppIdResponse)(RailClientContext* context,
Packit 1fb8d4
        const RAIL_GET_APPID_RESP_ORDER* getAppIdResp);
Packit 1fb8d4
Packit 1fb8d4
struct _rail_client_context
Packit 1fb8d4
{
Packit 1fb8d4
	void* handle;
Packit 1fb8d4
	void* custom;
Packit 1fb8d4
Packit 1fb8d4
	pcRailClientExecute ClientExecute;
Packit 1fb8d4
	pcRailClientActivate ClientActivate;
Packit 1fb8d4
	pcRailClientSystemParam ClientSystemParam;
Packit 1fb8d4
	pcRailServerSystemParam ServerSystemParam;
Packit 1fb8d4
	pcRailClientSystemCommand ClientSystemCommand;
Packit 1fb8d4
	pcRailClientHandshake ClientHandshake;
Packit 1fb8d4
	pcRailServerHandshake ServerHandshake;
Packit 1fb8d4
	pcRailClientHandshakeEx ClientHandshakeEx;
Packit 1fb8d4
	pcRailServerHandshakeEx ServerHandshakeEx;
Packit 1fb8d4
	pcRailClientNotifyEvent ClientNotifyEvent;
Packit 1fb8d4
	pcRailClientWindowMove ClientWindowMove;
Packit 1fb8d4
	pcRailServerLocalMoveSize ServerLocalMoveSize;
Packit 1fb8d4
	pcRailServerMinMaxInfo ServerMinMaxInfo;
Packit 1fb8d4
	pcRailClientInformation ClientInformation;
Packit 1fb8d4
	pcRailClientSystemMenu ClientSystemMenu;
Packit 1fb8d4
	pcRailClientLanguageBarInfo ClientLanguageBarInfo;
Packit 1fb8d4
	pcRailServerLanguageBarInfo ServerLanguageBarInfo;
Packit 1fb8d4
	pcRailServerExecuteResult ServerExecuteResult;
Packit 1fb8d4
	pcRailClientGetAppIdRequest ClientGetAppIdRequest;
Packit 1fb8d4
	pcRailServerGetAppIdResponse ServerGetAppIdResponse;
Packit 1fb8d4
};
Packit 1fb8d4
Packit 1fb8d4
#endif /* FREERDP_CHANNEL_RAIL_CLIENT_RAIL_H */
Packit 1fb8d4