libzypp  13.10.6
zypp::_ExternalProgram::EarlyPipe Struct Reference

Helper providing pipe FDs for ExternalProgramWithStderr. More...

#include <ExternalProgram.h>

Inheritance diagram for zypp::_ExternalProgram::EarlyPipe:
zypp::ExternalProgramWithStderr

Public Types

enum  { R =0, W =1 }
 

Public Member Functions

 EarlyPipe ()
 
 ~EarlyPipe ()
 
void closeW ()
 
FILE * stderr ()
 

Protected Attributes

FILE * _stderr
 
int _fds [2]
 

Detailed Description

Helper providing pipe FDs for ExternalProgramWithStderr.

Moved to a basse class because the pipe needs to be initialized before the ExternalProgram base class is initialized.

See Also
ExternalProgramWithStderr

Definition at line 239 of file ExternalProgram.h.

Member Enumeration Documentation

anonymous enum
Enumerator
R 
W 

Definition at line 241 of file ExternalProgram.h.

Constructor & Destructor Documentation

zypp::_ExternalProgram::EarlyPipe::EarlyPipe ( )

Definition at line 593 of file ExternalProgram.cc.

zypp::_ExternalProgram::EarlyPipe::~EarlyPipe ( )

Definition at line 606 of file ExternalProgram.cc.

Member Function Documentation

void zypp::_ExternalProgram::EarlyPipe::closeW ( )
inline

Definition at line 244 of file ExternalProgram.h.

FILE* zypp::_ExternalProgram::EarlyPipe::stderr ( )
inline

Definition at line 245 of file ExternalProgram.h.

Member Data Documentation

FILE* zypp::_ExternalProgram::EarlyPipe::_stderr
protected

Definition at line 247 of file ExternalProgram.h.

int zypp::_ExternalProgram::EarlyPipe::_fds[2]
protected

Definition at line 248 of file ExternalProgram.h.


The documentation for this struct was generated from the following files: