Cygwin: FIFO: add a HANDLE parameter to open_pipe

It's now up to the caller to pass a handle to open_pipe and, if
desired, to call set_handle on return.

This will be useful for a future commit, in which we will open a
client connection without setting an io_handle.
This commit is contained in:
Ken Brown
2019-05-09 11:36:26 -04:00
parent 00b2e56d31
commit 816c6da53a
2 changed files with 9 additions and 9 deletions

View File

@ -1270,7 +1270,7 @@ class fhandler_fifo: public fhandler_base
bool __reg2 wait (HANDLE);
NTSTATUS npfs_handle (HANDLE &);
HANDLE create_pipe_instance (bool);
NTSTATUS open_pipe ();
NTSTATUS open_pipe (HANDLE&);
int add_client_handler ();
void delete_client_handler (int);
bool listen_client ();