server: Replace redundant send_socket status fields with force_async boolean field.
commit731a96800308ff9f4a1616c948bb58f6d5ecef9c
authorJinoh Kang <jinoh.kang.kr@gmail.com>
Wed, 23 Mar 2022 17:25:28 +0000 (24 02:25 +0900)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 25 Mar 2022 17:30:28 +0000 (25 18:30 +0100)
tree2f747b7d4412b13a6fe68db5c54ba74de225c681
parent74059d12b83e9f6d6fd64556ba11d7b5331d5d00
server: Replace redundant send_socket status fields with force_async boolean field.

The 'status' field of send_socket_request is always either
STATUS_PENDING or STATUS_DEVICE_NOT_READY, and the 'total' field is
always zero.

Replace the 'status' field with 'force_async' boolean field, and get rid
of the 'total' field entirely.

Also, clean up the send_socket handler code a bit.

Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/ntdll/unix/socket.c
include/wine/server_protocol.h
server/protocol.def
server/request.h
server/sock.c
server/trace.c