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
1acb930d
Commit
1acb930d
authored
Dec 13, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Added get_file_info implementation for named pipe and mailslot devices.
parent
5bcd0888
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
mailslot.c
server/mailslot.c
+7
-1
named_pipe.c
server/named_pipe.c
+7
-1
No files found.
server/mailslot.c
View file @
1acb930d
...
...
@@ -153,6 +153,7 @@ static struct fd *mailslot_device_get_fd( struct object *obj );
static
struct
object
*
mailslot_device_lookup_name
(
struct
object
*
obj
,
struct
unicode_str
*
name
,
unsigned
int
attr
);
static
void
mailslot_device_destroy
(
struct
object
*
obj
);
static
int
mailslot_device_get_file_info
(
struct
fd
*
fd
);
static
const
struct
object_ops
mailslot_device_ops
=
{
...
...
@@ -175,7 +176,7 @@ static const struct fd_ops mailslot_device_fd_ops =
default_fd_get_poll_events
,
/* get_poll_events */
default_poll_event
,
/* poll_event */
no_flush
,
/* flush */
no_get_file_info
,
/* get_file_info */
mailslot_device_get_file_info
,
/* get_file_info */
default_fd_queue_async
,
/* queue_async */
default_fd_cancel_async
/* cancel_async */
};
...
...
@@ -304,6 +305,11 @@ static void mailslot_device_destroy( struct object *obj )
if
(
device
->
mailslots
)
free
(
device
->
mailslots
);
}
static
int
mailslot_device_get_file_info
(
struct
fd
*
fd
)
{
return
0
;
}
struct
mailslot_device
*
create_mailslot_device
(
struct
directory
*
root
,
const
struct
unicode_str
*
name
)
{
struct
mailslot_device
*
dev
;
...
...
server/named_pipe.c
View file @
1acb930d
...
...
@@ -200,6 +200,7 @@ static struct fd *named_pipe_device_get_fd( struct object *obj );
static
struct
object
*
named_pipe_device_lookup_name
(
struct
object
*
obj
,
struct
unicode_str
*
name
,
unsigned
int
attr
);
static
void
named_pipe_device_destroy
(
struct
object
*
obj
);
static
int
named_pipe_device_get_file_info
(
struct
fd
*
fd
);
static
const
struct
object_ops
named_pipe_device_ops
=
{
...
...
@@ -222,7 +223,7 @@ static const struct fd_ops named_pipe_device_fd_ops =
default_fd_get_poll_events
,
/* get_poll_events */
default_poll_event
,
/* poll_event */
no_flush
,
/* flush */
n
o_get_file_info
,
/* get_file_info */
n
amed_pipe_device_get_file_info
,
/* get_file_info */
default_fd_queue_async
,
/* queue_async */
default_fd_cancel_async
/* cancel_async */
};
...
...
@@ -437,6 +438,11 @@ static void named_pipe_device_destroy( struct object *obj )
if
(
device
->
pipes
)
free
(
device
->
pipes
);
}
static
int
named_pipe_device_get_file_info
(
struct
fd
*
fd
)
{
return
0
;
}
/* this will be deleted as soon an we fix wait_named_pipe */
static
struct
named_pipe_device
*
named_pipe_device
;
...
...
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