Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
8ae5761d
Commit
8ae5761d
authored
Dec 31, 2001
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed string type in named pipe requests.
parent
f9e4e9df
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
server_protocol.h
include/wine/server_protocol.h
+4
-4
protocol.def
server/protocol.def
+5
-5
trace.c
server/trace.c
+6
-6
No files found.
include/wine/server_protocol.h
View file @
8ae5761d
...
...
@@ -2211,7 +2211,7 @@ struct create_named_pipe_request
unsigned
int
outsize
;
unsigned
int
insize
;
unsigned
int
timeout
;
/* VARARG(
filename,string
); */
/* VARARG(
name,unicode_str
); */
};
struct
create_named_pipe_reply
{
...
...
@@ -2225,7 +2225,7 @@ struct open_named_pipe_request
{
struct
request_header
__header
;
unsigned
int
access
;
/* VARARG(
filename,string
); */
/* VARARG(
name,unicode_str
); */
};
struct
open_named_pipe_reply
{
...
...
@@ -2255,7 +2255,7 @@ struct wait_named_pipe_request
unsigned
int
timeout
;
void
*
overlapped
;
void
*
func
;
/* VARARG(
filename,string
); */
/* VARARG(
name,unicode_str
); */
};
struct
wait_named_pipe_reply
{
...
...
@@ -3038,6 +3038,6 @@ union generic_reply
struct
get_window_properties_reply
get_window_properties_reply
;
};
#define SERVER_PROTOCOL_VERSION 6
7
#define SERVER_PROTOCOL_VERSION 6
8
#endif
/* __WINE_WINE_SERVER_PROTOCOL_H */
server/protocol.def
View file @
8ae5761d
...
...
@@ -1552,18 +1552,18 @@ enum message_type
unsigned int outsize;
unsigned int insize;
unsigned int timeout;
VARARG(
filename,string
); /* pipe name */
VARARG(
name,unicode_str
); /* pipe name */
@REPLY
handle_t handle; /* handle to the pipe */
handle_t handle;
/* handle to the pipe */
@END
/* Open an existing named pipe */
@REQ(open_named_pipe)
unsigned int access;
VARARG(
filename,string
); /* pipe name */
VARARG(
name,unicode_str
); /* pipe name */
@REPLY
handle_t handle; /* handle to the pipe */
handle_t handle;
/* handle to the pipe */
@END
...
...
@@ -1580,7 +1580,7 @@ enum message_type
unsigned int timeout;
void* overlapped;
void* func;
VARARG(
filename,string
); /* pipe name */
VARARG(
name,unicode_str
); /* pipe name */
@END
...
...
server/trace.c
View file @
8ae5761d
...
...
@@ -1756,8 +1756,8 @@ static void dump_create_named_pipe_request( const struct create_named_pipe_reque
fprintf
(
stderr
,
" outsize=%08x,"
,
req
->
outsize
);
fprintf
(
stderr
,
" insize=%08x,"
,
req
->
insize
);
fprintf
(
stderr
,
" timeout=%08x,"
,
req
->
timeout
);
fprintf
(
stderr
,
"
file
name="
);
dump_varargs_
string
(
cur_size
);
fprintf
(
stderr
,
" name="
);
dump_varargs_
unicode_str
(
cur_size
);
}
static
void
dump_create_named_pipe_reply
(
const
struct
create_named_pipe_reply
*
req
)
...
...
@@ -1768,8 +1768,8 @@ static void dump_create_named_pipe_reply( const struct create_named_pipe_reply *
static
void
dump_open_named_pipe_request
(
const
struct
open_named_pipe_request
*
req
)
{
fprintf
(
stderr
,
" access=%08x,"
,
req
->
access
);
fprintf
(
stderr
,
"
file
name="
);
dump_varargs_
string
(
cur_size
);
fprintf
(
stderr
,
" name="
);
dump_varargs_
unicode_str
(
cur_size
);
}
static
void
dump_open_named_pipe_reply
(
const
struct
open_named_pipe_reply
*
req
)
...
...
@@ -1789,8 +1789,8 @@ static void dump_wait_named_pipe_request( const struct wait_named_pipe_request *
fprintf
(
stderr
,
" timeout=%08x,"
,
req
->
timeout
);
fprintf
(
stderr
,
" overlapped=%p,"
,
req
->
overlapped
);
fprintf
(
stderr
,
" func=%p,"
,
req
->
func
);
fprintf
(
stderr
,
"
file
name="
);
dump_varargs_
string
(
cur_size
);
fprintf
(
stderr
,
" name="
);
dump_varargs_
unicode_str
(
cur_size
);
}
static
void
dump_disconnect_named_pipe_request
(
const
struct
disconnect_named_pipe_request
*
req
)
...
...
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