libzypp  17.14.0
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 * fStdErr ()
 

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 246 of file ExternalProgram.h.

Member Enumeration Documentation

anonymous enum
Enumerator:
R 
W 

Definition at line 248 of file ExternalProgram.h.

Constructor & Destructor Documentation

zypp::externalprogram::EarlyPipe::EarlyPipe ( )

Definition at line 618 of file ExternalProgram.cc.

zypp::externalprogram::EarlyPipe::~EarlyPipe ( )

Definition at line 631 of file ExternalProgram.cc.

Member Function Documentation

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

Definition at line 251 of file ExternalProgram.h.

FILE* zypp::externalprogram::EarlyPipe::fStdErr ( )
inline

Definition at line 252 of file ExternalProgram.h.

Member Data Documentation

FILE* zypp::externalprogram::EarlyPipe::_stderr
protected

Definition at line 254 of file ExternalProgram.h.

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

Definition at line 255 of file ExternalProgram.h.


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