/[rdesktop]/sourceforge.net/trunk/rdesktop/iso.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/iso.c

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

revision 24 by matty, Sat Jan 6 03:12:10 2001 UTC revision 25 by matty, Sat Jan 6 03:47:04 2001 UTC
# Line 21  Line 21 
21  #include "rdesktop.h"  #include "rdesktop.h"
22    
23  /* Send a self-contained ISO PDU */  /* Send a self-contained ISO PDU */
24  static void iso_send_msg(uint8 code)  static void
25    iso_send_msg(uint8 code)
26  {  {
27          STREAM s;          STREAM s;
28    
# Line 42  static void iso_send_msg(uint8 code) Line 43  static void iso_send_msg(uint8 code)
43  }  }
44    
45  /* Receive a message on the ISO layer, return code */  /* Receive a message on the ISO layer, return code */
46  static STREAM iso_recv_msg(uint8 *code)  static STREAM
47    iso_recv_msg(uint8 *code)
48  {  {
49          STREAM s;          STREAM s;
50          uint16 length;          uint16 length;
# Line 80  static STREAM iso_recv_msg(uint8 *code) Line 82  static STREAM iso_recv_msg(uint8 *code)
82  }  }
83    
84  /* Initialise ISO transport data packet */  /* Initialise ISO transport data packet */
85  STREAM iso_init(int length)  STREAM
86    iso_init(int length)
87  {  {
88          STREAM s;          STREAM s;
89    
# Line 91  STREAM iso_init(int length) Line 94  STREAM iso_init(int length)
94  }  }
95    
96  /* Send an ISO data PDU */  /* Send an ISO data PDU */
97  void iso_send(STREAM s)  void
98    iso_send(STREAM s)
99  {  {
100          uint16 length;          uint16 length;
101    
# Line 110  void iso_send(STREAM s) Line 114  void iso_send(STREAM s)
114  }  }
115    
116  /* Receive ISO transport data packet */  /* Receive ISO transport data packet */
117  STREAM iso_recv()  STREAM
118    iso_recv()
119  {  {
120          STREAM s;          STREAM s;
121          uint8 code;          uint8 code;
# Line 126  STREAM iso_recv() Line 131  STREAM iso_recv()
131  }  }
132    
133  /* Establish a connection up to the ISO layer */  /* Establish a connection up to the ISO layer */
134  BOOL iso_connect(char *server)  BOOL
135    iso_connect(char *server)
136  {  {
137          uint8 code;          uint8 code;
138    
# Line 146  BOOL iso_connect(char *server) Line 152  BOOL iso_connect(char *server)
152  }  }
153    
154  /* Disconnect from the ISO layer */  /* Disconnect from the ISO layer */
155  void iso_disconnect()  void
156    iso_disconnect()
157  {  {
158          iso_send_msg(ISO_PDU_DR);          iso_send_msg(ISO_PDU_DR);
159          tcp_disconnect();          tcp_disconnect();

Legend:
Removed from v.24  
changed lines
  Added in v.25

  ViewVC Help
Powered by ViewVC 1.1.26