]> git.sesse.net Git - rdpsrv/blobdiff - proto.h
Exit on error.
[rdpsrv] / proto.h
diff --git a/proto.h b/proto.h
index b371330c73a51b74db454226aece19964ffb89c6..97a628bcbebbec061fa3283d2fe2a15c3f97609c 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -32,7 +32,7 @@ int get_current_workarea(uint32 * x, uint32 * y, uint32 * width, uint32 * height
 STREAM iso_init(int length);
 void iso_send(STREAM s);
 STREAM iso_recv(void);
-BOOL iso_connect(char *server, char *username);
+BOOL iso_recv_connect(int server_sock);
 void iso_disconnect(void);
 /* licence.c */
 void licence_process(STREAM s);
@@ -115,7 +115,7 @@ void sec_disconnect(void);
 STREAM tcp_init(uint32 maxlen);
 void tcp_send(STREAM s);
 STREAM tcp_recv(STREAM s, uint32 length);
-BOOL tcp_connect(char *server);
+BOOL tcp_recv_connect(int server_sock);
 void tcp_disconnect(void);
 /* xclip.c */
 void ui_clip_format_announce(uint8 * data, uint32 length);