Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
BlowPipe Class Reference

#include <blowpipe.h>

Inherits Pipe.

Public Types

enum  CryptControl { ENCRYPT , DECRYPT }
 
typedef enum BlowPipe::CryptControl CryptControl
 

Public Member Functions

 BlowPipe (CryptControl control)
 
virtual ~BlowPipe (void)
 
virtual int Flush (void)
 
virtual int Put (void const *source, int slen)
 
void Key (void const *key, int length)
 
- Public Member Functions inherited from Pipe
 Pipe (void)
 
 ~Pipe ()
 
bool Create (const char *name)
 
bool Connected (void)
 
void Write (char msg)
 
const char * Read (void)
 
 Pipe (void)
 
virtual ~Pipe (void)
 
virtual int End (void)
 
virtual void Put_To (Pipe *pipe)
 
void Put_To (Pipe &pipe)
 

Protected Attributes

BlowfishEngineBF
 

Additional Inherited Members

- Public Attributes inherited from Pipe
PipeChainTo
 
PipeChainFrom
 

Detailed Description

Definition at line 47 of file blowpipe.h.

Member Typedef Documentation

◆ CryptControl

Member Enumeration Documentation

◆ CryptControl

Enumerator
ENCRYPT 
DECRYPT 

Definition at line 50 of file blowpipe.h.

Constructor & Destructor Documentation

◆ BlowPipe()

BlowPipe::BlowPipe ( CryptControl control)
inline

Definition at line 55 of file blowpipe.h.

◆ ~BlowPipe()

virtual BlowPipe::~BlowPipe ( void )
inlinevirtual

Definition at line 56 of file blowpipe.h.

Member Function Documentation

◆ Flush()

int BlowPipe::Flush ( void )
virtual

Reimplemented from Pipe.

Definition at line 62 of file blowpipe.cpp.

◆ Key()

void BlowPipe::Key ( void const * key,
int length )

Definition at line 184 of file blowpipe.cpp.

◆ Put()

int BlowPipe::Put ( void const * source,
int slen )
virtual

Reimplemented from Pipe.

Definition at line 93 of file blowpipe.cpp.

Member Data Documentation

◆ BF

BlowfishEngine* BlowPipe::BF
protected

Definition at line 71 of file blowpipe.h.


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