diff options
Diffstat (limited to 'alsa/src/communication/pipe_chan.rs')
| -rw-r--r-- | alsa/src/communication/pipe_chan.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/alsa/src/communication/pipe_chan.rs b/alsa/src/communication/pipe_chan.rs index 43c7ea5..5f0f9ec 100644 --- a/alsa/src/communication/pipe_chan.rs +++ b/alsa/src/communication/pipe_chan.rs @@ -29,6 +29,9 @@ impl Receiver { Err(ReceiveError::UnknownError) } } + pub(crate) fn file_handle(&self) -> &FileHandle { + &self.handle + } } impl Sender { @@ -98,7 +101,7 @@ pub(crate) fn create_pipe_chan() -> Result<(Sender, Receiver),()> { } } -struct FileHandle { +pub(crate) struct FileHandle { raw : c_int, } |
