Alexandre Julliard
311f786286
server: Add a common structure to store irp parameters.
2015-05-06 17:16:16 +09:00
Alexandre Julliard
faa1db4d13
server: Implement read and write requests for device files.
2015-05-06 17:16:16 +09:00
Alexandre Julliard
837b39b202
server: Add read and write fd member functions.
...
Also rename no_flush() to no_fd_flush() for consistency.
2015-05-06 09:07:42 +09:00
Alexandre Julliard
fc4a94c0e2
server: Return irp size separately from the output data.
2015-05-06 08:44:30 +09:00
Alexandre Julliard
6f2ed23c16
server: Retrieve ioctl data directly from the request.
2015-05-06 08:44:29 +09:00
Alexandre Julliard
165dd1ff36
server: Rename ioctl to irp to allow supporting various types of I/O requests.
2015-05-06 08:44:29 +09:00
Alexandre Julliard
ecf7ed6650
server: Add a request to store the results of an ioctl asynchronously.
2015-03-11 22:45:51 +09:00
Alexandre Julliard
0157f76888
server: Allow device manager ioctls to run asynchronously.
2015-03-11 22:44:51 +09:00
Alexandre Julliard
39644bb309
server: Pass a wait queue entry to the signaled/satisfied object functions.
2013-08-27 23:48:36 +02:00
Bernhard Loos
507d929051
ntoskrnl: Correctly implement PsGetCurrentThread/ProcessId.
2011-10-28 13:04:00 +02:00
Alexandre Julliard
6db201080f
server: Make the various async I/O parameters client_ptr_t instead of void pointers.
2008-12-30 21:09:41 +01:00
Alexandre Julliard
7ec95c5bee
server: Explicitly specify when an ioctl call needs to be blocking.
2008-12-30 20:37:20 +01:00
Alexandre Julliard
923310aa54
server: Make the device opaque data a client_ptr_t instead of a void pointer.
2008-12-29 17:28:40 +01:00
Alexandre Julliard
9ed42d2709
server: Get rid of the unused count parameter in fd_queue_async().
2008-12-26 12:33:31 +01:00
Alexandre Julliard
8382eb01b2
server: Return correct object types in the get_directory_entry request.
2007-12-05 18:16:42 +01:00
Alexandre Julliard
8268ad551a
server: Remove failed ioctls from the queue as soon as the result is set.
2007-10-30 11:30:58 +01:00
Rob Shearman
c1707d8938
server: Add get_sd and set_sd object operations to allow the security descriptor to be stored somewhere other than server memory, such as on disk.
2007-10-04 12:30:52 +02:00
Alexandre Julliard
24001e8ddc
server: Add a default access mapping function for files, and use it for devices too.
2007-10-02 14:20:15 +02:00
Alexandre Julliard
aafcfe7663
server: Add support for retrieving results of queued ioctls once they are done.
2007-05-08 20:45:44 +02:00
Alexandre Julliard
78b75108cd
server: Add request to retrieve the next pending ioctl call for a device manager.
2007-05-08 20:40:26 +02:00
Alexandre Julliard
61e08b346b
server: Add support for queuing ioctl calls to a device.
2007-05-08 20:37:21 +02:00
Alexandre Julliard
b43dc15c8a
server: Add support for generic device objects managed from the client side.
2007-05-08 20:28:37 +02:00
Alexandre Julliard
db692c8f39
Open a real file handle for drive devices, and get rid of the server
...
device hacks (based on a patch by Eric Pouech).
2004-03-04 23:00:18 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
e66207ebfc
Moved all references to file descriptors out of the generic object
...
structure.
Changed the poll()-related routines to deal with file descriptors
instead of objects and integrated poll support into fd.c.
2003-02-19 00:33:32 +00:00
Alexandre Julliard
cf27a7fa3b
Changed fd operations to take a struct fd instead of a struct object.
...
Removed get_file_info function from object operations.
Added get_device_id request to avoid abusing get_file_info.
2003-02-14 20:27:09 +00:00
Alexandre Julliard
863637b158
Started moving functions that deal with Unix file descriptors to a
...
separate fd object. This will be needed for file locking.
2003-01-30 00:26:44 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Martin Wilck
88cd32b2d1
More general approach to file descriptor types and flags.
2002-01-09 20:30:51 +00:00
Mike McCormack
6f011c0847
- move async activation into the server
...
- implement async queues
2001-12-20 00:07:05 +00:00
Alexandre Julliard
9caa71eef4
Redesign of the server communication protocol to allow arbitrary sized
...
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
2001-11-30 18:46:42 +00:00
Mike McCormack
ff58be5c7f
Fetch a handle type in FILE_GetUnixHandle.
2001-10-04 16:18:15 +00:00
Alexandre Julliard
8081e5a1e5
Added handle_t type to server interface so that we can make handles
...
pointers later on.
Always use 0 to signal invalid handle in server requests.
2001-01-05 04:08:07 +00:00
Alexandre Julliard
1ab243bac1
Merged the get_read_fd and get_write_fd requests.
2000-12-19 02:12:45 +00:00
Alexandre Julliard
cb1fc735f0
Changed the server to return STATUS_* error codes.
2000-01-24 21:58:06 +00:00
Alexandre Julliard
1dca5e24c7
Moved poll handling to the generic part of the server objects.
...
Fixed busy waiting on POLLERR events.
Merged struct client into struct thread.
2000-01-01 00:56:27 +00:00
Alexandre Julliard
ebe29ef376
Further server optimizations:
...
- merged request and reply structures
- build requests directly into the buffer to avoid a copy
1999-06-26 08:43:26 +00:00
Alexandre Julliard
5bc78089db
Made server communication faster by using a shared memory block.
...
A few other optimizations in request processing in the server.
Moved automatically generated request definitions to server.h and
removed include/server/request.h.
1999-06-22 17:26:53 +00:00
Alexandre Julliard
43c190e7ba
Server reorganization:
...
- moved request handlers to the specific C files
- moved handle management to handle.c
- moved server private includes to server/ instead of include/server/
1999-05-15 10:48:19 +00:00
Michael Veksler
f935c59787
Added missing includes to avoid warnings/errors.
1999-02-09 15:49:39 +00:00
Alexandre Julliard
f727b4327d
Added server-side device support (only a hack for now).
1999-01-19 16:31:32 +00:00