X-Git-Url: https://git.sesse.net/?p=rdpsrv;a=blobdiff_plain;f=proto.h;h=ac1baacf88a73bdd608e17ece2bd36e9d4f62225;hp=00ab7a0bc194868ef397fd2a3cb9e6afedfe8d18;hb=cab129c4c404f2b6f45c895bb18c8d5f936a636f;hpb=67effbeb26b0c36b05232a67cc977abee3ddbc35 diff --git a/proto.h b/proto.h index 00ab7a0..ac1baac 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(unsigned x, unsigned y); +void rdp_send_bitmap_update(unsigned x, unsigned y, unsigned width, unsigned height, unsigned char *data); /* rdpdr.c */ void rdpdr_send_connect(void); void rdpdr_send_name(void); @@ -121,6 +121,7 @@ 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); +int tcp_get_socket(void); /* xclip.c */ void ui_clip_format_announce(uint8 * data, uint32 length); void ui_clip_handle_data(uint8 * data, uint32 length);