Mixes for Privacy and Anonymity in the Internet
Classes | Macros | Typedefs | Functions
CAFirstMix.cpp File Reference

Classes

struct  T_UserLoginData
 

Macros

#define COUNTRY_STATS_DB   "CountryStats"
 
#define NR_OF_COUNTRIES   254
 

Typedefs

typedef struct T_UserLoginData t_UserLoginData
 

Functions

THREAD_RETURN fm_loopSendToMix (void *param)
 How to end this thread: 0. More...
 
THREAD_RETURN fm_loopReadFromMix (void *pParam)
 
SINT32 isAllowedToPassRestrictions (CASocket *pNewMuxSocket)
 
THREAD_RETURN fm_loopAcceptUsers (void *param)
 
THREAD_RETURN fm_loopLog (void *param)
 
THREAD_RETURN fm_loopDoUserLogin (void *param)
 
void mysqlEscapeTableName (UINT8 *str)
 Escape a string so tha it could be used as table anme. More...
 
THREAD_RETURN iplist_loopDoLogCountries (void *param)
 

Macro Definition Documentation

◆ COUNTRY_STATS_DB

#define COUNTRY_STATS_DB   "CountryStats"

◆ NR_OF_COUNTRIES

#define NR_OF_COUNTRIES   254

Typedef Documentation

◆ t_UserLoginData

Function Documentation

◆ fm_loopAcceptUsers()

THREAD_RETURN fm_loopAcceptUsers ( void *  param)

◆ fm_loopDoUserLogin()

THREAD_RETURN fm_loopDoUserLogin ( void *  param)

◆ fm_loopLog()

THREAD_RETURN fm_loopLog ( void *  param)

◆ fm_loopReadFromMix()

THREAD_RETURN fm_loopReadFromMix ( void *  pParam)

ToDo: check if keep-alive is really correct here - should it not be moved upwards?

◆ fm_loopSendToMix()

THREAD_RETURN fm_loopSendToMix ( void *  param)

How to end this thread: 0.

set bRestart=true;

  1. Close connection to next mix
  2. put some bytes (len>MIX_PACKET_SIZE) in the Mix-Output-Queue

◆ iplist_loopDoLogCountries()

THREAD_RETURN iplist_loopDoLogCountries ( void *  param)

References CAMsg::printMsg().

◆ isAllowedToPassRestrictions()

SINT32 isAllowedToPassRestrictions ( CASocket pNewMuxSocket)

◆ mysqlEscapeTableName()

void mysqlEscapeTableName ( UINT8 str)

Escape a string so tha it could be used as table anme.

This is: exchange the chars '.' ; '/' ; '\' ; ':' with '_'

Referenced by CAFirstMix::initCountryStats().