X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=proto.h;h=00ab7a0bc194868ef397fd2a3cb9e6afedfe8d18;hb=67effbeb26b0c36b05232a67cc977abee3ddbc35;hp=d2cf92afd29b65947a28e8d997af830ed111cfa8;hpb=3877f62cb1eaadc9389341106befc04eded5ae18;p=rdpsrv diff --git a/proto.h b/proto.h index d2cf92a..00ab7a0 100644 --- a/proto.h +++ b/proto.h @@ -75,7 +75,7 @@ BOOL rdp_main_loop(void); BOOL rdp_connect(char *server, uint32 flags, char *domain, char *password, char *command, char *directory); void rdp_disconnect(void); -void rdp_send_bitmap_update(void); +void rdp_send_bitmap_update(unsigned x, unsigned y); /* rdpdr.c */ void rdpdr_send_connect(void); void rdpdr_send_name(void); @@ -119,6 +119,7 @@ STREAM tcp_init(uint32 maxlen); void tcp_send(STREAM s); STREAM tcp_recv(STREAM s, uint32 length); BOOL tcp_recv_connect(int server_sock); +int tcp_connect(char *server, int port); void tcp_disconnect(void); /* xclip.c */ void ui_clip_format_announce(uint8 * data, uint32 length);