X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=proto.h;h=1d6d7554d4eb4826ef9020d39ffee864fcf37dbc;hb=e61b2ca4693510c74cb5c8e90e8a53522cbc9219;hp=20710c024069a3ab28b4409ae2b7d64359e11779;hpb=55a546ab6b5970438e6cca1a962ec4e7dd669d11;p=rdpsrv diff --git a/proto.h b/proto.h index 20710c0..1d6d755 100644 --- a/proto.h +++ b/proto.h @@ -66,6 +66,8 @@ STREAM rdp5_init(int maxlen, BOOL encryption); void rdp5_send(STREAM s, BOOL encryption); void rdp5_process(STREAM s, BOOL encryption); /* rdp.c */ +STREAM rdp_init_data(int maxlen); +void rdp_send_data(STREAM s, uint8 data_pdu_type); STREAM rdp_recv(uint8 * type); void rdp_out_unistr(STREAM s, char *string, int len); void rdp_recv_input(STREAM s, uint32 *time, uint16 *message_type, uint16 *device_flags, uint16 *param1, uint16 *param2); @@ -79,6 +81,8 @@ BOOL rdp_connect(char *server, uint32 flags, char *domain, char *password, char char *directory); void rdp_disconnect(void); void rdp_send_bitmap_update(unsigned x, unsigned y, unsigned width, unsigned height, unsigned char *data); +void rdp_send_control(uint16 action); +void rdp_send_synchronise(uint16 id); /* rdpdr.c */ void rdpdr_send_connect(void); void rdpdr_send_name(void);