Make deprecated rdp_out_unistr() static
This commit is contained in:
parent
ff1a42f809
commit
594438e5eb
1
proto.h
1
proto.h
@ -146,7 +146,6 @@ RD_BOOL rd_lock_file(int fd, int start, int len);
|
|||||||
/* rdp5.c */
|
/* rdp5.c */
|
||||||
void rdp5_process(STREAM s);
|
void rdp5_process(STREAM s);
|
||||||
/* rdp.c */
|
/* rdp.c */
|
||||||
void rdp_out_unistr(STREAM s, char *string, int len);
|
|
||||||
void rdp_in_unistr(STREAM s, int in_len, char **string, uint32 * str_size);
|
void rdp_in_unistr(STREAM s, int in_len, char **string, uint32 * str_size);
|
||||||
void rdp_send_input(uint32 time, uint16 message_type, uint16 device_flags, uint16 param1,
|
void rdp_send_input(uint32 time, uint16 message_type, uint16 device_flags, uint16 param1,
|
||||||
uint16 param2);
|
uint16 param2);
|
||||||
|
6
rdp.c
6
rdp.c
@ -80,6 +80,8 @@ extern RD_BOOL g_has_reconnect_random;
|
|||||||
extern uint8 g_client_random[SEC_RANDOM_SIZE];
|
extern uint8 g_client_random[SEC_RANDOM_SIZE];
|
||||||
static uint32 g_packetno;
|
static uint32 g_packetno;
|
||||||
|
|
||||||
|
static void rdp_out_unistr(STREAM s, char *string, int len);
|
||||||
|
|
||||||
/* Receive an RDP packet */
|
/* Receive an RDP packet */
|
||||||
static STREAM
|
static STREAM
|
||||||
rdp_recv(uint8 * type)
|
rdp_recv(uint8 * type)
|
||||||
@ -171,7 +173,7 @@ rdp_send_data(STREAM s, uint8 data_pdu_type)
|
|||||||
/* Output a string in Unicode with mandatory null termination. If
|
/* Output a string in Unicode with mandatory null termination. If
|
||||||
string is NULL or len is 0, write an unicode null termination to
|
string is NULL or len is 0, write an unicode null termination to
|
||||||
stream. */
|
stream. */
|
||||||
void
|
static void
|
||||||
rdp_out_unistr_mandatory_null(STREAM s, char *string, int len)
|
rdp_out_unistr_mandatory_null(STREAM s, char *string, int len)
|
||||||
{
|
{
|
||||||
/* LEGACY:
|
/* LEGACY:
|
||||||
@ -187,7 +189,7 @@ rdp_out_unistr_mandatory_null(STREAM s, char *string, int len)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Output a string in Unicode */
|
/* Output a string in Unicode */
|
||||||
void
|
static void
|
||||||
rdp_out_unistr(STREAM s, char *string, int len)
|
rdp_out_unistr(STREAM s, char *string, int len)
|
||||||
{
|
{
|
||||||
/* LEGACY:
|
/* LEGACY:
|
||||||
|
Loading…
Reference in New Issue
Block a user