libfreerdp-core: refactoring of licensing code, refactoring of connection sequence

This commit is contained in:
Marc-André Moreau
2011-07-17 23:16:31 -04:00
parent 3f9a8521b8
commit 1a2dc6f3d9
15 changed files with 294 additions and 102 deletions

View File

@@ -20,28 +20,6 @@
#ifndef __FREERDP_CONSTANTS
#define __FREERDP_CONSTANTS
/**
* Protocol Security Negotiation Protocols
*/
enum RDP_NEG_PROTOCOLS
{
PROTOCOL_RDP = 0x00000000,
PROTOCOL_TLS = 0x00000001,
PROTOCOL_NLA = 0x00000002
};
/**
* Protocol Security Negotiation Failure Codes
*/
enum RDP_NEG_FAILURE_FAILURECODES
{
SSL_REQUIRED_BY_SERVER = 0x00000001,
SSL_NOT_ALLOWED_BY_SERVER = 0x00000002,
SSL_CERT_NOT_ON_SERVER = 0x00000003,
INCONSISTENT_FLAGS = 0x00000004,
HYBRID_REQUIRED_BY_SERVER = 0x00000005
};
/**
* Static Virtual Channel Flags
*/

View File

@@ -118,6 +118,7 @@ struct rdp_settings
BLOB server_random;
BLOB server_certificate;
boolean console_audio;
boolean console_session;
uint32 redirected_session_id;
@@ -164,7 +165,6 @@ struct rdp_settings
int bitmap_compression;
int desktop_save;
int polygon_ellipse_orders;
int console_audio;
int off_screen_bitmaps;
int triblt;
int new_cursors;