Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
810a9da9
Commit
810a9da9
authored
Jun 02, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Jun 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Remove the no longer used enable_socket_event request.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a70c5172
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
69 deletions
+1
-69
server_protocol.h
include/wine/server_protocol.h
+1
-19
protocol.def
server/protocol.def
+0
-8
request.h
server/request.h
+0
-7
sock.c
server/sock.c
+0
-24
trace.c
server/trace.c
+0
-11
No files found.
include/wine/server_protocol.h
View file @
810a9da9
...
...
@@ -1780,21 +1780,6 @@ struct get_socket_info_reply
};
struct
enable_socket_event_request
{
struct
request_header
__header
;
obj_handle_t
handle
;
unsigned
int
mask
;
unsigned
int
sstate
;
unsigned
int
cstate
;
char
__pad_28
[
4
];
};
struct
enable_socket_event_reply
{
struct
reply_header
__header
;
};
struct
set_socket_deferred_request
{
struct
request_header
__header
;
...
...
@@ -5521,7 +5506,6 @@ enum request
REQ_set_socket_event
,
REQ_get_socket_event
,
REQ_get_socket_info
,
REQ_enable_socket_event
,
REQ_set_socket_deferred
,
REQ_recv_socket
,
REQ_poll_socket
,
...
...
@@ -5805,7 +5789,6 @@ union generic_request
struct
set_socket_event_request
set_socket_event_request
;
struct
get_socket_event_request
get_socket_event_request
;
struct
get_socket_info_request
get_socket_info_request
;
struct
enable_socket_event_request
enable_socket_event_request
;
struct
set_socket_deferred_request
set_socket_deferred_request
;
struct
recv_socket_request
recv_socket_request
;
struct
poll_socket_request
poll_socket_request
;
...
...
@@ -6087,7 +6070,6 @@ union generic_reply
struct
set_socket_event_reply
set_socket_event_reply
;
struct
get_socket_event_reply
get_socket_event_reply
;
struct
get_socket_info_reply
get_socket_info_reply
;
struct
enable_socket_event_reply
enable_socket_event_reply
;
struct
set_socket_deferred_reply
set_socket_deferred_reply
;
struct
recv_socket_reply
recv_socket_reply
;
struct
poll_socket_reply
poll_socket_reply
;
...
...
@@ -6312,7 +6294,7 @@ union generic_reply
/* ### protocol_version begin ### */
#define SERVER_PROTOCOL_VERSION 71
0
#define SERVER_PROTOCOL_VERSION 71
1
/* ### protocol_version end ### */
...
...
server/protocol.def
View file @
810a9da9
...
...
@@ -1456,14 +1456,6 @@ enum server_fd_type
@END
/* Re-enable pending socket events */
@REQ(enable_socket_event)
obj_handle_t handle; /* handle to the socket */
unsigned int mask; /* events to re-enable */
unsigned int sstate; /* status bits to set */
unsigned int cstate; /* status bits to clear */
@END
@REQ(set_socket_deferred)
obj_handle_t handle; /* handle to the socket */
obj_handle_t deferred; /* handle to the socket for which accept() is deferred */
...
...
server/request.h
View file @
810a9da9
...
...
@@ -175,7 +175,6 @@ DECL_HANDLER(unlock_file);
DECL_HANDLER
(
set_socket_event
);
DECL_HANDLER
(
get_socket_event
);
DECL_HANDLER
(
get_socket_info
);
DECL_HANDLER
(
enable_socket_event
);
DECL_HANDLER
(
set_socket_deferred
);
DECL_HANDLER
(
recv_socket
);
DECL_HANDLER
(
poll_socket
);
...
...
@@ -458,7 +457,6 @@ static const req_handler req_handlers[REQ_NB_REQUESTS] =
(
req_handler
)
req_set_socket_event
,
(
req_handler
)
req_get_socket_event
,
(
req_handler
)
req_get_socket_info
,
(
req_handler
)
req_enable_socket_event
,
(
req_handler
)
req_set_socket_deferred
,
(
req_handler
)
req_recv_socket
,
(
req_handler
)
req_poll_socket
,
...
...
@@ -1062,11 +1060,6 @@ C_ASSERT( FIELD_OFFSET(struct get_socket_info_reply, family) == 8 );
C_ASSERT
(
FIELD_OFFSET
(
struct
get_socket_info_reply
,
type
)
==
12
);
C_ASSERT
(
FIELD_OFFSET
(
struct
get_socket_info_reply
,
protocol
)
==
16
);
C_ASSERT
(
sizeof
(
struct
get_socket_info_reply
)
==
24
);
C_ASSERT
(
FIELD_OFFSET
(
struct
enable_socket_event_request
,
handle
)
==
12
);
C_ASSERT
(
FIELD_OFFSET
(
struct
enable_socket_event_request
,
mask
)
==
16
);
C_ASSERT
(
FIELD_OFFSET
(
struct
enable_socket_event_request
,
sstate
)
==
20
);
C_ASSERT
(
FIELD_OFFSET
(
struct
enable_socket_event_request
,
cstate
)
==
24
);
C_ASSERT
(
sizeof
(
struct
enable_socket_event_request
)
==
32
);
C_ASSERT
(
FIELD_OFFSET
(
struct
set_socket_deferred_request
,
handle
)
==
12
);
C_ASSERT
(
FIELD_OFFSET
(
struct
set_socket_deferred_request
,
deferred
)
==
16
);
C_ASSERT
(
sizeof
(
struct
set_socket_deferred_request
)
==
24
);
...
...
server/sock.c
View file @
810a9da9
...
...
@@ -2378,30 +2378,6 @@ DECL_HANDLER(get_socket_event)
release_object
(
&
sock
->
obj
);
}
/* re-enable pending socket events */
DECL_HANDLER
(
enable_socket_event
)
{
struct
sock
*
sock
;
if
(
!
(
sock
=
(
struct
sock
*
)
get_handle_obj
(
current
->
process
,
req
->
handle
,
FILE_WRITE_ATTRIBUTES
,
&
sock_ops
)))
return
;
if
(
get_unix_fd
(
sock
->
fd
)
==
-
1
)
return
;
/* for event-based notification, windows erases stale events */
sock
->
pending_events
&=
~
req
->
mask
;
sock
->
reported_events
&=
~
req
->
mask
;
sock
->
state
|=
req
->
sstate
;
sock
->
state
&=
~
req
->
cstate
;
if
(
sock
->
type
!=
WS_SOCK_STREAM
)
sock
->
state
&=
~
STREAM_FLAG_MASK
;
sock_reselect
(
sock
);
release_object
(
&
sock
->
obj
);
}
DECL_HANDLER
(
set_socket_deferred
)
{
struct
sock
*
sock
,
*
acceptsock
;
...
...
server/trace.c
View file @
810a9da9
...
...
@@ -2109,14 +2109,6 @@ static void dump_get_socket_info_reply( const struct get_socket_info_reply *req
fprintf
(
stderr
,
", protocol=%d"
,
req
->
protocol
);
}
static
void
dump_enable_socket_event_request
(
const
struct
enable_socket_event_request
*
req
)
{
fprintf
(
stderr
,
" handle=%04x"
,
req
->
handle
);
fprintf
(
stderr
,
", mask=%08x"
,
req
->
mask
);
fprintf
(
stderr
,
", sstate=%08x"
,
req
->
sstate
);
fprintf
(
stderr
,
", cstate=%08x"
,
req
->
cstate
);
}
static
void
dump_set_socket_deferred_request
(
const
struct
set_socket_deferred_request
*
req
)
{
fprintf
(
stderr
,
" handle=%04x"
,
req
->
handle
);
...
...
@@ -4610,7 +4602,6 @@ static const dump_func req_dumpers[REQ_NB_REQUESTS] = {
(
dump_func
)
dump_set_socket_event_request
,
(
dump_func
)
dump_get_socket_event_request
,
(
dump_func
)
dump_get_socket_info_request
,
(
dump_func
)
dump_enable_socket_event_request
,
(
dump_func
)
dump_set_socket_deferred_request
,
(
dump_func
)
dump_recv_socket_request
,
(
dump_func
)
dump_poll_socket_request
,
...
...
@@ -4891,7 +4882,6 @@ static const dump_func reply_dumpers[REQ_NB_REQUESTS] = {
(
dump_func
)
dump_get_socket_event_reply
,
(
dump_func
)
dump_get_socket_info_reply
,
NULL
,
NULL
,
(
dump_func
)
dump_recv_socket_reply
,
(
dump_func
)
dump_poll_socket_reply
,
(
dump_func
)
dump_send_socket_reply
,
...
...
@@ -5170,7 +5160,6 @@ static const char * const req_names[REQ_NB_REQUESTS] = {
"set_socket_event"
,
"get_socket_event"
,
"get_socket_info"
,
"enable_socket_event"
,
"set_socket_deferred"
,
"recv_socket"
,
"poll_socket"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment