/[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 30 by matty, Fri Sep 14 13:51:38 2001 UTC revision 192 by matthewc, Tue Sep 24 07:59:14 2002 UTC
# Line 89  ber_out_integer(STREAM s, int value) Line 89  ber_out_integer(STREAM s, int value)
89    
90  /* Output a DOMAIN_PARAMS structure (ASN.1 BER) */  /* Output a DOMAIN_PARAMS structure (ASN.1 BER) */
91  static void  static void
92  mcs_out_domain_params(STREAM s, int max_channels, int max_users,  mcs_out_domain_params(STREAM s, int max_channels, int max_users, int max_tokens, int max_pdusize)
                       int max_tokens, int max_pdusize)  
93  {  {
94          ber_out_header(s, MCS_TAG_DOMAIN_PARAMS, 32);          ber_out_header(s, MCS_TAG_DOMAIN_PARAMS, 32);
95          ber_out_integer(s, max_channels);          ber_out_integer(s, max_channels);
# Line 185  mcs_recv_connect_response(STREAM mcs_dat Line 184  mcs_recv_connect_response(STREAM mcs_dat
184    
185  /* Send an EDrq message (ASN.1 PER) */  /* Send an EDrq message (ASN.1 PER) */
186  static void  static void
187  mcs_send_edrq()  mcs_send_edrq(void)
188  {  {
189          STREAM s;          STREAM s;
190    
# Line 201  mcs_send_edrq() Line 200  mcs_send_edrq()
200    
201  /* Send an AUrq message (ASN.1 PER) */  /* Send an AUrq message (ASN.1 PER) */
202  static void  static void
203  mcs_send_aurq()  mcs_send_aurq(void)
204  {  {
205          STREAM s;          STREAM s;
206    
# Line 215  mcs_send_aurq() Line 214  mcs_send_aurq()
214    
215  /* Expect a AUcf message (ASN.1 PER) */  /* Expect a AUcf message (ASN.1 PER) */
216  static BOOL  static BOOL
217  mcs_recv_aucf(uint16 *mcs_userid)  mcs_recv_aucf(uint16 * mcs_userid)
218  {  {
219          uint8 opcode, result;          uint8 opcode, result;
220          STREAM s;          STREAM s;
# Line 262  mcs_send_cjrq(uint16 chanid) Line 261  mcs_send_cjrq(uint16 chanid)
261    
262  /* Expect a CJcf message (ASN.1 PER) */  /* Expect a CJcf message (ASN.1 PER) */
263  static BOOL  static BOOL
264  mcs_recv_cjcf()  mcs_recv_cjcf(void)
265  {  {
266          uint8 opcode, result;          uint8 opcode, result;
267          STREAM s;          STREAM s;
# Line 325  mcs_send(STREAM s) Line 324  mcs_send(STREAM s)
324    
325  /* Receive an MCS transport data packet */  /* Receive an MCS transport data packet */
326  STREAM  STREAM
327  mcs_recv()  mcs_recv(void)
328  {  {
329          uint8 opcode, appid, length;          uint8 opcode, appid, length;
330          STREAM s;          STREAM s;
# Line 387  mcs_connect(char *server, STREAM mcs_dat Line 386  mcs_connect(char *server, STREAM mcs_dat
386    
387  /* Disconnect from the MCS layer */  /* Disconnect from the MCS layer */
388  void  void
389  mcs_disconnect()  mcs_disconnect(void)
390  {  {
391          iso_disconnect();          iso_disconnect();
392  }  }

Legend:
Removed from v.30  
changed lines
  Added in v.192

  ViewVC Help
Powered by ViewVC 1.1.26