Mixe for Privacy and Anonymity in the Internet
|
#include "StdAfx.h"
#include "TermsAndConditions.hpp"
#include "CAMsg.hpp"
#include "CACmdLnOptions.hpp"
#include "CAUtil.hpp"
Go to the source code of this file.
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) |
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".
Definition at line 44 of file TermsAndConditions.cpp.
References termsAndConditionMixAnswer_t::result, TC_UNFINISHED, and termsAndConditionMixAnswer_t::xmlAnswer.
Referenced by CAFirstMix::doUserLogin_internal().
void cleanupTnCTranslation | ( | termsAndConditionsTranslation_t * | tnCTranslation | ) |
Definition at line 57 of file TermsAndConditions.cpp.
References termsAndConditionsTranslation_t::tnc_customized, termsAndConditionsTranslation_t::tnc_id, termsAndConditionsTranslation_t::tnc_locale, and termsAndConditionsTranslation_t::tnc_template.
Referenced by TermsAndConditions::removeTranslation(), and TermsAndConditions::~TermsAndConditions().