libmoost
|
#include <posix_stream_stealer.h>
Public Member Functions | |
posix_stream_stealer (bool restore=true, bool close_pipe=false) | |
bool | steal (FILE *handle) |
bool | restore (bool close_pipe=false) |
int | get_pipe_fd () const |
int | get_backup_fd () const |
Private Attributes | |
detail::posix_stream_stealer | m_impl |
Definition at line 41 of file posix_stream_stealer.h.
moost::service::posix_stream_stealer::posix_stream_stealer | ( | bool | restore = true , |
bool | close_pipe = false |
||
) | [inline] |
Definition at line 44 of file posix_stream_stealer.h.
int moost::service::posix_stream_stealer::get_backup_fd | ( | ) | const [inline] |
int moost::service::posix_stream_stealer::get_pipe_fd | ( | ) | const [inline] |
bool moost::service::posix_stream_stealer::restore | ( | bool | close_pipe = false | ) | [inline] |
bool moost::service::posix_stream_stealer::steal | ( | FILE * | handle | ) | [inline] |
Definition at line 70 of file posix_stream_stealer.h.