[autodetect] expose AUTODETECT_STATE
This commit is contained in:
parent
7b140a12c7
commit
a7c0a8c5f1
@ -28,6 +28,16 @@
|
|||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
typedef enum
|
||||||
|
{
|
||||||
|
AUTODETECT_STATE_INITIAL,
|
||||||
|
AUTODETECT_STATE_REQUEST,
|
||||||
|
AUTODETECT_STATE_RESPONSE,
|
||||||
|
AUTODETECT_STATE_COMPLETE,
|
||||||
|
AUTODETECT_STATE_FAIL
|
||||||
|
} AUTODETECT_STATE;
|
||||||
|
|
||||||
typedef struct rdp_autodetect rdpAutoDetect;
|
typedef struct rdp_autodetect rdpAutoDetect;
|
||||||
|
|
||||||
typedef BOOL (*pRTTMeasureRequest)(rdpAutoDetect* autodetect, RDP_TRANSPORT_TYPE transport,
|
typedef BOOL (*pRTTMeasureRequest)(rdpAutoDetect* autodetect, RDP_TRANSPORT_TYPE transport,
|
||||||
@ -65,7 +75,7 @@ extern "C"
|
|||||||
ALIGN64 UINT32 netCharBaseRTT; /* 6 */
|
ALIGN64 UINT32 netCharBaseRTT; /* 6 */
|
||||||
ALIGN64 UINT32 netCharAverageRTT; /* 7 */
|
ALIGN64 UINT32 netCharAverageRTT; /* 7 */
|
||||||
ALIGN64 BOOL bandwidthMeasureStarted; /* 8 */
|
ALIGN64 BOOL bandwidthMeasureStarted; /* 8 */
|
||||||
ALIGN64 INT32 state; /* 9 */
|
ALIGN64 AUTODETECT_STATE state; /* 9 */
|
||||||
ALIGN64 void* custom; /* 10 */
|
ALIGN64 void* custom; /* 10 */
|
||||||
UINT64 paddingA[16 - 11]; /* 11 */
|
UINT64 paddingA[16 - 11]; /* 11 */
|
||||||
|
|
||||||
|
@ -32,15 +32,6 @@
|
|||||||
|
|
||||||
#include "state.h"
|
#include "state.h"
|
||||||
|
|
||||||
typedef enum
|
|
||||||
{
|
|
||||||
AUTODETECT_STATE_INITIAL,
|
|
||||||
AUTODETECT_STATE_REQUEST,
|
|
||||||
AUTODETECT_STATE_RESPONSE,
|
|
||||||
AUTODETECT_STATE_COMPLETE,
|
|
||||||
AUTODETECT_STATE_FAIL
|
|
||||||
} AUTODETECT_STATE;
|
|
||||||
|
|
||||||
FREERDP_LOCAL rdpAutoDetect* autodetect_new(rdpContext* context);
|
FREERDP_LOCAL rdpAutoDetect* autodetect_new(rdpContext* context);
|
||||||
FREERDP_LOCAL void autodetect_free(rdpAutoDetect* autodetect);
|
FREERDP_LOCAL void autodetect_free(rdpAutoDetect* autodetect);
|
||||||
FREERDP_LOCAL state_run_t autodetect_recv_request_packet(rdpAutoDetect* autodetect,
|
FREERDP_LOCAL state_run_t autodetect_recv_request_packet(rdpAutoDetect* autodetect,
|
||||||
|
Loading…
Reference in New Issue
Block a user