/[rdesktop]/sourceforge.net/trunk/rdesktop/mcs.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/mcs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1371 by jsorg71, Thu Jan 4 05:39:39 2007 UTC revision 1372 by jsorg71, Mon Jan 8 04:47:06 2007 UTC
# Line 25  extern VCHANNEL g_channels[]; Line 25  extern VCHANNEL g_channels[];
25  extern unsigned int g_num_channels;  extern unsigned int g_num_channels;
26    
27  /* Parse an ASN.1 BER header */  /* Parse an ASN.1 BER header */
28  static BOOL  static RD_BOOL
29  ber_parse_header(STREAM s, int tagval, int *length)  ber_parse_header(STREAM s, int tagval, int *length)
30  {  {
31          int tag, len;          int tag, len;
# Line 105  mcs_out_domain_params(STREAM s, int max_ Line 105  mcs_out_domain_params(STREAM s, int max_
105  }  }
106    
107  /* Parse a DOMAIN_PARAMS structure (ASN.1 BER) */  /* Parse a DOMAIN_PARAMS structure (ASN.1 BER) */
108  static BOOL  static RD_BOOL
109  mcs_parse_domain_params(STREAM s)  mcs_parse_domain_params(STREAM s)
110  {  {
111          int length;          int length;
# Line 147  mcs_send_connect_initial(STREAM mcs_data Line 147  mcs_send_connect_initial(STREAM mcs_data
147  }  }
148    
149  /* Expect a MCS_CONNECT_RESPONSE message (ASN.1 BER) */  /* Expect a MCS_CONNECT_RESPONSE message (ASN.1 BER) */
150  static BOOL  static RD_BOOL
151  mcs_recv_connect_response(STREAM mcs_data)  mcs_recv_connect_response(STREAM mcs_data)
152  {  {
153          uint8 result;          uint8 result;
# Line 221  mcs_send_aurq(void) Line 221  mcs_send_aurq(void)
221  }  }
222    
223  /* Expect a AUcf message (ASN.1 PER) */  /* Expect a AUcf message (ASN.1 PER) */
224  static BOOL  static RD_BOOL
225  mcs_recv_aucf(uint16 * mcs_userid)  mcs_recv_aucf(uint16 * mcs_userid)
226  {  {
227          uint8 opcode, result;          uint8 opcode, result;
# Line 270  mcs_send_cjrq(uint16 chanid) Line 270  mcs_send_cjrq(uint16 chanid)
270  }  }
271    
272  /* Expect a CJcf message (ASN.1 PER) */  /* Expect a CJcf message (ASN.1 PER) */
273  static BOOL  static RD_BOOL
274  mcs_recv_cjcf(void)  mcs_recv_cjcf(void)
275  {  {
276          uint8 opcode, result;          uint8 opcode, result;
# Line 372  mcs_recv(uint16 * channel, uint8 * rdpve Line 372  mcs_recv(uint16 * channel, uint8 * rdpve
372  }  }
373    
374  /* Establish a connection up to the MCS layer */  /* Establish a connection up to the MCS layer */
375  BOOL  RD_BOOL
376  mcs_connect(char *server, STREAM mcs_data, char *username)  mcs_connect(char *server, STREAM mcs_data, char *username)
377  {  {
378          unsigned int i;          unsigned int i;
# Line 413  mcs_connect(char *server, STREAM mcs_dat Line 413  mcs_connect(char *server, STREAM mcs_dat
413  }  }
414    
415  /* Establish a connection up to the MCS layer */  /* Establish a connection up to the MCS layer */
416  BOOL  RD_BOOL
417  mcs_reconnect(char *server, STREAM mcs_data)  mcs_reconnect(char *server, STREAM mcs_data)
418  {  {
419          unsigned int i;          unsigned int i;

Legend:
Removed from v.1371  
changed lines
  Added in v.1372

  ViewVC Help
Powered by ViewVC 1.1.26