mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Various minor warning fixes and unittest fixes.
This commit is contained in:
@@ -128,7 +128,7 @@ struct _IWTSVirtualChannelCallback
|
||||
/* Notifies the user about data that is being received. */
|
||||
int (*OnDataReceived) (IWTSVirtualChannelCallback* pChannelCallback,
|
||||
uint32 cbSize,
|
||||
char* pBuffer);
|
||||
uint8* pBuffer);
|
||||
/* Notifies the user that the channel has been closed. */
|
||||
int (*OnClose) (IWTSVirtualChannelCallback* pChannelCallback);
|
||||
};
|
||||
|
||||
@@ -54,8 +54,8 @@ struct rdp_inst
|
||||
int (* rdp_send_input_unicode)(rdpInst * inst, uint16 character);
|
||||
int (* rdp_send_input_mouse)(rdpInst * inst, uint16 pointerFlags, uint16 xPos, uint16 yPos);
|
||||
int (* rdp_sync_input)(rdpInst * inst, int toggle_flags);
|
||||
int (* rdp_channel_data)(rdpInst * inst, int chan_id, char * data, int data_size);
|
||||
void (*rdp_suppress_output)(rdpInst * inst, int allow_display_updates);
|
||||
int (* rdp_channel_data)(rdpInst * inst, int chan_id, uint8 * data, int data_size);
|
||||
void (* rdp_suppress_output)(rdpInst * inst, int allow_display_updates);
|
||||
void (* rdp_disconnect)(rdpInst * inst);
|
||||
int (* rdp_send_frame_ack)(rdpInst * inst, int frame_id);
|
||||
/* calls from library to ui */
|
||||
|
||||
@@ -69,10 +69,10 @@ typedef struct
|
||||
typedef struct
|
||||
{
|
||||
uint32 bias;
|
||||
uint8 standardName[32];
|
||||
char standardName[32];
|
||||
SYSTEM_TIME standardDate;
|
||||
uint32 standardBias;
|
||||
uint8 daylightName[32];
|
||||
char daylightName[32];
|
||||
SYSTEM_TIME daylightDate;
|
||||
uint32 daylightBias;
|
||||
} TIME_ZONE_INFORMATION;
|
||||
@@ -153,20 +153,20 @@ struct rdp_settings
|
||||
char client_product_id[32];
|
||||
|
||||
uint16 port;
|
||||
uint8* hostname;
|
||||
uint8* username;
|
||||
uint8* password;
|
||||
uint8* domain;
|
||||
uint8* shell;
|
||||
uint8* directory;
|
||||
char* hostname;
|
||||
char* username;
|
||||
char* password;
|
||||
char* domain;
|
||||
char* shell;
|
||||
char* directory;
|
||||
uint32 performance_flags;
|
||||
|
||||
boolean autologon;
|
||||
boolean compression;
|
||||
|
||||
boolean ipv6;
|
||||
uint8* ip_address;
|
||||
uint8* client_dir;
|
||||
char* ip_address;
|
||||
char* client_dir;
|
||||
TIME_ZONE_INFORMATION client_time_zone;
|
||||
|
||||
boolean auto_reconnection;
|
||||
|
||||
Reference in New Issue
Block a user