X-Git-Url: https://git.sesse.net/?p=rdpsrv;a=blobdiff_plain;f=proto.h;fp=proto.h;h=20710c024069a3ab28b4409ae2b7d64359e11779;hp=ea5eeda78f6c7560faefbcc719a90c05c055645a;hb=55a546ab6b5970438e6cca1a962ec4e7dd669d11;hpb=d7f4fdca92c39405a79d71d3910ff114e0a692f0 diff --git a/proto.h b/proto.h index ea5eeda..20710c0 100644 --- a/proto.h +++ b/proto.h @@ -62,6 +62,8 @@ 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_recv(uint8 * type); @@ -101,6 +103,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);