FreeRDP/channels/rdpdr/client/rdpdr_main.h

44 lines
1.2 KiB
C
Raw Normal View History

2011-08-05 11:43:48 +04:00
/**
2012-10-09 05:00:07 +04:00
* FreeRDP: A Remote Desktop Protocol Implementation
* Device Redirection Virtual Channel
2011-08-05 11:43:48 +04:00
*
* Copyright 2010-2011 Vic Lee
2012-10-09 05:00:07 +04:00
* Copyright 2010-2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
2011-08-05 11:43:48 +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.
*/
2012-10-09 05:00:07 +04:00
#ifndef FREERDP_CHANNEL_RDPDR_CLIENT_MAIN_H
#define FREERDP_CHANNEL_RDPDR_CLIENT_MAIN_H
2011-08-05 11:43:48 +04:00
2012-10-09 05:00:07 +04:00
#include <freerdp/channels/rdpdr.h>
2011-08-05 11:43:48 +04:00
#include <freerdp/utils/svc_plugin.h>
typedef struct rdpdr_plugin rdpdrPlugin;
2011-08-05 11:43:48 +04:00
struct rdpdr_plugin
{
rdpSvcPlugin plugin;
DEVMAN* devman;
UINT16 versionMajor;
UINT16 versionMinor;
UINT16 clientID;
2011-08-05 11:43:48 +04:00
char computerName[256];
};
int rdpdr_send(rdpdrPlugin* rdpdr, wStream* s);
2012-10-09 05:00:07 +04:00
#endif /* FREERDP_CHANNEL_RDPDR_CLIENT_MAIN_H */