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
e3ea5278
Commit
e3ea5278
authored
Oct 01, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Oct 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Remove the no longer used accept_into_socket request.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2600ccf2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
62 deletions
+1
-62
server_protocol.h
include/wine/server_protocol.h
+1
-18
protocol.def
server/protocol.def
+0
-7
request.h
server/request.h
+0
-5
sock.c
server/sock.c
+0
-23
trace.c
server/trace.c
+0
-9
No files found.
include/wine/server_protocol.h
View file @
e3ea5278
...
...
@@ -1695,20 +1695,6 @@ struct unlock_file_reply
struct
accept_into_socket_request
{
struct
request_header
__header
;
obj_handle_t
lhandle
;
obj_handle_t
ahandle
;
char
__pad_20
[
4
];
};
struct
accept_into_socket_reply
{
struct
reply_header
__header
;
};
struct
set_socket_event_request
{
struct
request_header
__header
;
...
...
@@ -5481,7 +5467,6 @@ enum request
REQ_get_volume_info
,
REQ_lock_file
,
REQ_unlock_file
,
REQ_accept_into_socket
,
REQ_set_socket_event
,
REQ_get_socket_event
,
REQ_get_socket_info
,
...
...
@@ -5768,7 +5753,6 @@ union generic_request
struct
get_volume_info_request
get_volume_info_request
;
struct
lock_file_request
lock_file_request
;
struct
unlock_file_request
unlock_file_request
;
struct
accept_into_socket_request
accept_into_socket_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
;
...
...
@@ -6053,7 +6037,6 @@ union generic_reply
struct
get_volume_info_reply
get_volume_info_reply
;
struct
lock_file_reply
lock_file_reply
;
struct
unlock_file_reply
unlock_file_reply
;
struct
accept_into_socket_reply
accept_into_socket_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
;
...
...
@@ -6283,7 +6266,7 @@ union generic_reply
/* ### protocol_version begin ### */
#define SERVER_PROTOCOL_VERSION 64
8
#define SERVER_PROTOCOL_VERSION 64
9
/* ### protocol_version end ### */
...
...
server/protocol.def
View file @
e3ea5278
...
...
@@ -1383,13 +1383,6 @@ enum server_fd_type
@END
/* Accept into an initialized socket */
@REQ(accept_into_socket)
obj_handle_t lhandle; /* handle to the listening socket */
obj_handle_t ahandle; /* handle to the accepting socket */
@END
/* Set socket event parameters */
@REQ(set_socket_event)
obj_handle_t handle; /* handle to the socket */
...
...
server/request.h
View file @
e3ea5278
...
...
@@ -173,7 +173,6 @@ DECL_HANDLER(get_file_info);
DECL_HANDLER
(
get_volume_info
);
DECL_HANDLER
(
lock_file
);
DECL_HANDLER
(
unlock_file
);
DECL_HANDLER
(
accept_into_socket
);
DECL_HANDLER
(
set_socket_event
);
DECL_HANDLER
(
get_socket_event
);
DECL_HANDLER
(
get_socket_info
);
...
...
@@ -459,7 +458,6 @@ static const req_handler req_handlers[REQ_NB_REQUESTS] =
(
req_handler
)
req_get_volume_info
,
(
req_handler
)
req_lock_file
,
(
req_handler
)
req_unlock_file
,
(
req_handler
)
req_accept_into_socket
,
(
req_handler
)
req_set_socket_event
,
(
req_handler
)
req_get_socket_event
,
(
req_handler
)
req_get_socket_info
,
...
...
@@ -1052,9 +1050,6 @@ C_ASSERT( FIELD_OFFSET(struct unlock_file_request, handle) == 12 );
C_ASSERT
(
FIELD_OFFSET
(
struct
unlock_file_request
,
offset
)
==
16
);
C_ASSERT
(
FIELD_OFFSET
(
struct
unlock_file_request
,
count
)
==
24
);
C_ASSERT
(
sizeof
(
struct
unlock_file_request
)
==
32
);
C_ASSERT
(
FIELD_OFFSET
(
struct
accept_into_socket_request
,
lhandle
)
==
12
);
C_ASSERT
(
FIELD_OFFSET
(
struct
accept_into_socket_request
,
ahandle
)
==
16
);
C_ASSERT
(
sizeof
(
struct
accept_into_socket_request
)
==
24
);
C_ASSERT
(
FIELD_OFFSET
(
struct
set_socket_event_request
,
handle
)
==
12
);
C_ASSERT
(
FIELD_OFFSET
(
struct
set_socket_event_request
,
mask
)
==
16
);
C_ASSERT
(
FIELD_OFFSET
(
struct
set_socket_event_request
,
event
)
==
20
);
...
...
server/sock.c
View file @
e3ea5278
...
...
@@ -1446,29 +1446,6 @@ struct object *create_socket_device( struct object *root, const struct unicode_s
return
create_named_object
(
root
,
&
socket_device_ops
,
name
,
attr
,
sd
);
}
/* accept a socket into an initialized socket */
DECL_HANDLER
(
accept_into_socket
)
{
struct
sock
*
sock
,
*
acceptsock
;
const
int
all_attributes
=
FILE_READ_ATTRIBUTES
|
FILE_WRITE_ATTRIBUTES
|
FILE_READ_DATA
;
if
(
!
(
sock
=
(
struct
sock
*
)
get_handle_obj
(
current
->
process
,
req
->
lhandle
,
all_attributes
,
&
sock_ops
)))
return
;
if
(
!
(
acceptsock
=
(
struct
sock
*
)
get_handle_obj
(
current
->
process
,
req
->
ahandle
,
all_attributes
,
&
sock_ops
)))
{
release_object
(
sock
);
return
;
}
if
(
accept_into_socket
(
sock
,
acceptsock
))
acceptsock
->
wparam
=
req
->
ahandle
;
/* wparam for message is the socket handle */
release_object
(
acceptsock
);
release_object
(
sock
);
}
/* set socket event parameters */
DECL_HANDLER
(
set_socket_event
)
{
...
...
server/trace.c
View file @
e3ea5278
...
...
@@ -1948,12 +1948,6 @@ static void dump_unlock_file_request( const struct unlock_file_request *req )
dump_uint64
(
", count="
,
&
req
->
count
);
}
static
void
dump_accept_into_socket_request
(
const
struct
accept_into_socket_request
*
req
)
{
fprintf
(
stderr
,
" lhandle=%04x"
,
req
->
lhandle
);
fprintf
(
stderr
,
", ahandle=%04x"
,
req
->
ahandle
);
}
static
void
dump_set_socket_event_request
(
const
struct
set_socket_event_request
*
req
)
{
fprintf
(
stderr
,
" handle=%04x"
,
req
->
handle
);
...
...
@@ -4467,7 +4461,6 @@ static const dump_func req_dumpers[REQ_NB_REQUESTS] = {
(
dump_func
)
dump_get_volume_info_request
,
(
dump_func
)
dump_lock_file_request
,
(
dump_func
)
dump_unlock_file_request
,
(
dump_func
)
dump_accept_into_socket_request
,
(
dump_func
)
dump_set_socket_event_request
,
(
dump_func
)
dump_get_socket_event_request
,
(
dump_func
)
dump_get_socket_info_request
,
...
...
@@ -4751,7 +4744,6 @@ static const dump_func reply_dumpers[REQ_NB_REQUESTS] = {
(
dump_func
)
dump_lock_file_reply
,
NULL
,
NULL
,
NULL
,
(
dump_func
)
dump_get_socket_event_reply
,
(
dump_func
)
dump_get_socket_info_reply
,
NULL
,
...
...
@@ -5033,7 +5025,6 @@ static const char * const req_names[REQ_NB_REQUESTS] = {
"get_volume_info"
,
"lock_file"
,
"unlock_file"
,
"accept_into_socket"
,
"set_socket_event"
,
"get_socket_event"
,
"get_socket_info"
,
...
...
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