]> git.sesse.net Git - rdpsrv/blobdiff - proto.h
Try to send back the magical 0x28 PDU (not very well ATM :-) )
[rdpsrv] / proto.h
diff --git a/proto.h b/proto.h
index ea5eeda78f6c7560faefbcc719a90c05c055645a..1d6d7554d4eb4826ef9020d39ffee864fcf37dbc 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -62,8 +62,12 @@ void hexdump(unsigned char *p, int len);
 int load_licence(unsigned char **data);
 void save_licence(unsigned char *data, int length);
 /* rdp5.c */
+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);
@@ -77,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);
@@ -101,6 +107,7 @@ void wave_out_volume(uint16 left, uint16 right);
 void wave_out_write(STREAM s, uint16 tick, uint8 index);
 void wave_out_play(void);
 /* secure.c */
+void sec_encrypt(uint8 * data, int length);
 void sec_hash_48(uint8 * out, uint8 * in, uint8 * salt1, uint8 * salt2, uint8 salt);
 void sec_hash_16(uint8 * out, uint8 * in, uint8 * salt1, uint8 * salt2);
 void buf_out_uint32(uint8 * buffer, uint32 value);