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

Classes

struct  termsAndConditionMixAnswer_t
struct  termsAndConditionsTranslation_t
class  TermsAndConditions

Defines

#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.
void cleanupTnCTranslation (termsAndConditionsTranslation_t *tnCTranslation)

Define Documentation

#define RESIZE_STORE   3

Enumeration Type Documentation

Enumerator:
TC_FAILED 
TC_CONFIRMED 
TC_UNFINISHED 

Function Documentation

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().