Mixes for Privacy and Anonymity in the Internet
Classes | Macros | Enumerations | Functions
TermsAndConditions.hpp File Reference

Classes

struct  termsAndConditionMixAnswer_t
 
struct  termsAndConditionsTranslation_t
 
class  TermsAndConditions
 

Macros

#define RESIZE_STORE   3
 

Enumerations

enum  tcAnswerCode_t { TC_FAILED = -1 , TC_CONFIRMED = 0 , TC_UNFINISHED = 1 }
 

Functions

void cleanupTnCMixAnswer (termsAndConditionMixAnswer_t *answer)
 IMPORTANT NOTE: all methods does NOT incorporate locking over the translation store and thus are NOT THREAD-SAFE. More...
 
void cleanupTnCTranslation (termsAndConditionsTranslation_t *tnCTranslation)
 

Macro Definition Documentation

◆ RESIZE_STORE

#define RESIZE_STORE   3

Enumeration Type Documentation

◆ tcAnswerCode_t

Enumerator
TC_FAILED 
TC_CONFIRMED 
TC_UNFINISHED 

Function Documentation

◆ cleanupTnCMixAnswer()

void cleanupTnCMixAnswer ( termsAndConditionMixAnswer_t answer)

IMPORTANT NOTE: all methods does NOT incorporate locking over the translation store and thus are NOT THREAD-SAFE.

If a caller obtains a reference to a translation entry he must lock it as long as he works with it by using the lock object provided by "getSynchLock".

References termsAndConditionMixAnswer_t::result, TC_UNFINISHED, and termsAndConditionMixAnswer_t::xmlAnswer.

Referenced by CAFirstMix::doUserLogin_internal().

◆ cleanupTnCTranslation()

void cleanupTnCTranslation ( termsAndConditionsTranslation_t tnCTranslation)