/* Called during redirection to reset the state to support redirection */ void rdp_reset_state(void) { g_next_packet = NULL; /* reset the packet information */ g_rdp_shareid = 0; sec_reset_state(); }
/* Called during redirection to reset the state to support redirection */ void rdp_reset_state(RDPCLIENT * This) { This->next_packet = NULL; /* reset the packet information */ This->rdp_shareid = 0; sec_reset_state(This); }