Mixes for Privacy and Anonymity in the Internet
Functions
TermsAndConditions.cpp File Reference

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)
 

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)