Mixes for Privacy and Anonymity in the Internet
Functions | Variables
proxytest.cpp File Reference

Functions

void removePidFile ()
 Removes the stored PID (file)
void init ()
 do necessary initialisations of libraries etc.
void cleanup ()
 do necessary cleanups of libraries etc.
void my_terminate (void)
 Remark: terminate() might be already defined by the c lib -- do not use this name...
void signal_segv (int)
void signal_term (int)
void signal_interrupt (int)
void signal_hup (int)
void checkSizesOfBaseTypes ()
 Check what the sizes of base types are as expected -- if not kill the programm.
int main (int argc, const char *argv[])

Variables

CAMixpMix = NULL
bool bTriedTermination = false

Function Documentation

Check what the sizes of base types are as expected -- if not kill the programm.

References CAMsg::printMsg().

Referenced by main().

void cleanup ( )
void init ( )

do necessary initialisations of libraries etc.

References CALibProxytest::init().

Referenced by CACmdLnOptions::initLogging(), and main().

int main ( int  argc,
const char *  argv[] 
)
void my_terminate ( void  )

Remark: terminate() might be already defined by the c lib -- do not use this name...

References bTriedTermination, cleanup(), CAMix::isShutDown(), msSleep(), pMix, and CAMix::shutDown().

Referenced by signal_interrupt(), and signal_term().

void removePidFile ( )

Removes the stored PID (file)

References E_SUCCESS, and CALibProxytest::getOptions().

Referenced by cleanup().

void signal_hup ( int  )
void signal_interrupt ( int  )
void signal_segv ( int  )
void signal_term ( int  )

Variable Documentation

bool bTriedTermination = false

Referenced by my_terminate().

CAMix* pMix = NULL