Go to the source code of this file.
|
| static void | mcs_out_domain_params (STREAM s, int max_channels, int max_users, int max_tokens, int max_pdusize) |
| |
| static RD_BOOL | mcs_parse_domain_params (STREAM s) |
| |
| static void | mcs_send_connect_initial (STREAM mcs_data) |
| |
| static RD_BOOL | mcs_recv_connect_response (STREAM mcs_data) |
| |
| static void | mcs_send_edrq (void) |
| |
| static void | mcs_send_aurq (void) |
| |
| static RD_BOOL | mcs_recv_aucf (uint16 *mcs_userid) |
| |
| static void | mcs_send_cjrq (uint16 chanid) |
| |
| static RD_BOOL | mcs_recv_cjcf (void) |
| |
| STREAM | mcs_init (int length) |
| |
| void | mcs_send_to_channel (STREAM s, uint16 channel) |
| |
| void | mcs_send (STREAM s) |
| |
| STREAM | mcs_recv (uint16 *channel, uint8 *rdpver) |
| |
| RD_BOOL | mcs_connect_start (char *server, char *username, char *domain, char *password, RD_BOOL reconnect, uint32 *selected_protocol) |
| |
| RD_BOOL | mcs_connect_finalize (STREAM mcs_data) |
| |
| void | mcs_disconnect (void) |
| |
| void | mcs_reset_state (void) |
| |
◆ mcs_connect_finalize()
Definition at line 318 of file mcs.c.
319{
321
325
327
331
333
336
340
342 {
346 }
348
352}
#define MCS_USERCHANNEL_BASE
#define MCS_GLOBAL_CHANNEL
void iso_disconnect(void)
static void mcs_send_cjrq(uint16 chanid)
static void mcs_send_edrq(void)
static RD_BOOL mcs_recv_aucf(uint16 *mcs_userid)
static void mcs_send_aurq(void)
static RD_BOOL mcs_recv_connect_response(STREAM mcs_data)
static RD_BOOL mcs_recv_cjcf(void)
unsigned int g_num_channels
static void mcs_send_connect_initial(STREAM mcs_data)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Referenced by sec_connect().
◆ mcs_connect_start()
Definition at line 311 of file mcs.c.
313{
315}
RD_BOOL iso_connect(char *server, char *username, char *domain, char *password, RD_BOOL reconnect, uint32 *selected_protocol)
static rfbScreenInfoPtr server
Referenced by sec_connect().
◆ mcs_disconnect()
◆ mcs_init()
Definition at line 242 of file mcs.c.
243{
245
248
250}
STREAM iso_init(int length)
#define s_push_layer(s, h, n)
GLuint GLsizei GLsizei * length
Referenced by sec_init().
◆ mcs_out_domain_params()
| static void mcs_out_domain_params |
( |
STREAM |
s, |
|
|
int |
max_channels, |
|
|
int |
max_users, |
|
|
int |
max_tokens, |
|
|
int |
max_pdusize |
|
) |
| |
|
static |
Definition at line 30 of file mcs.c.
31{
41}
void ber_out_header(STREAM s, int tagval, int length)
void ber_out_integer(STREAM s, int value)
#define MCS_TAG_DOMAIN_PARAMS
Referenced by mcs_send_connect_initial().
◆ mcs_parse_domain_params()
◆ mcs_recv()
Definition at line 280 of file mcs.c.
281{
284
289 if (*rdpver != 3)
294 {
296 {
297 error(
"expected data, got %d\n", opcode);
298 }
300 }
308}
STREAM iso_recv(uint8 *rdpver)
#define in_uint16_be(s, v)
Referenced by sec_recv().
◆ mcs_recv_aucf()
◆ mcs_recv_cjcf()
◆ mcs_recv_connect_response()
Definition at line 87 of file mcs.c.
88{
92
96
98
102 {
105 }
106
110
112
114
115
116
117
118
119
120
121
122
123
124
125
127}
#define BER_TAG_OCTET_STRING
#define MCS_CONNECT_RESPONSE
static RD_BOOL mcs_parse_domain_params(STREAM s)
void sec_process_mcs_data(STREAM s)
Referenced by mcs_connect(), mcs_connect_finalize(), and mcs_reconnect().
◆ mcs_reset_state()
◆ mcs_send()
Definition at line 273 of file mcs.c.
274{
276}
void mcs_send_to_channel(STREAM s, uint16 channel)
◆ mcs_send_aurq()
◆ mcs_send_cjrq()
◆ mcs_send_connect_initial()
| static void mcs_send_connect_initial |
( |
STREAM |
mcs_data | ) |
|
|
static |
Definition at line 57 of file mcs.c.
58{
62
64
70
73
77
80
83}
#define MCS_CONNECT_INITIAL
static void mcs_out_domain_params(STREAM s, int max_channels, int max_users, int max_tokens, int max_pdusize)
#define out_uint8p(s, v, n)
int const JOCTET unsigned int datalen
Referenced by mcs_connect(), mcs_connect_finalize(), and mcs_reconnect().
◆ mcs_send_edrq()
◆ mcs_send_to_channel()
◆ g_channels
◆ g_mcs_userid
◆ g_num_channels