From 14e45b940c75bffad237332339101595215510f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= Date: Mon, 4 Jul 2011 22:02:00 -0400 Subject: [PATCH] libfreerdp-core: added function stubs for client data blocks (GCC) --- include/freerdp/types/ui.h | 2 +- libfreerdp-core/gcc.c | 65 ++++++++++++++++++++++++++++++++++++++ libfreerdp-core/gcc.h | 12 +++++++ 3 files changed, 78 insertions(+), 1 deletion(-) diff --git a/include/freerdp/types/ui.h b/include/freerdp/types/ui.h index 892eacaf0..a8a6995ed 100644 --- a/include/freerdp/types/ui.h +++ b/include/freerdp/types/ui.h @@ -56,7 +56,7 @@ typedef struct _FRDP_PEN } FRDP_PEN; -/* this is whats in the brush cache */ +/* this is what is in the brush cache */ typedef struct _FRDP_BRUSHDATA { uint32 color_code; diff --git a/libfreerdp-core/gcc.c b/libfreerdp-core/gcc.c index 2d63a0872..6c4961faa 100644 --- a/libfreerdp-core/gcc.c +++ b/libfreerdp-core/gcc.c @@ -133,3 +133,68 @@ gcc_write_create_conference_request(STREAM* s, STREAM* user_data) /* userData::value (OCTET_STRING) */ per_write_octet_string(s, user_data->buffer, stream_get_length(user_data), 0); /* array of client data blocks */ } + +/** + * Write a client core data block (TS_UD_CS_CORE).\n + * @msdn{cc240510} + * @param s stream + * @param settings rdp settings + */ + +void +gcc_write_client_core_data(STREAM* s, rdpSettings *settings) +{ + +} + +/** + * Write a client security data block (TS_UD_CS_SEC).\n + * @msdn{cc240511} + * @param s stream + * @param settings rdp settings + */ + +void +gcc_write_client_security_data(STREAM* s, rdpSettings *settings) +{ + +} + +/** + * Write a client network data block (TS_UD_CS_NET).\n + * @msdn{cc240512} + * @param s stream + * @param settings rdp settings + */ + +void +gcc_write_client_network_data(STREAM* s, rdpSettings *settings) +{ + +} + +/** + * Write a client cluster data block (TS_UD_CS_CLUSTER).\n + * @msdn{cc240514} + * @param s stream + * @param settings rdp settings + */ + +void +gcc_write_client_cluster_data(STREAM* s, rdpSettings *settings) +{ + +} + +/** + * Write a client monitor data block (TS_UD_CS_MONITOR).\n + * @msdn{dd305336} + * @param s stream + * @param settings rdp settings + */ + +void +gcc_write_client_monitor_data(STREAM* s, rdpSettings *settings) +{ + +} diff --git a/libfreerdp-core/gcc.h b/libfreerdp-core/gcc.h index a099ce989..9348833f5 100644 --- a/libfreerdp-core/gcc.h +++ b/libfreerdp-core/gcc.h @@ -22,9 +22,21 @@ #include "per.h" +#include #include void gcc_write_create_conference_request(STREAM* s, STREAM* user_data); +void +gcc_write_client_core_data(STREAM* s, rdpSettings *settings); +void +gcc_write_client_security_data(STREAM* s, rdpSettings *settings); +void +gcc_write_client_network_data(STREAM* s, rdpSettings *settings); +void +gcc_write_client_cluster_data(STREAM* s, rdpSettings *settings); +void +gcc_write_client_monitor_data(STREAM* s, rdpSettings *settings); + #endif /* __GCC_H */