|
Mixes for Privacy and Anonymity in the Internet
|
Macros | |
| #define | JAP_DIGEST_LENGTH 28 |
Functions | |
| bool | testAndSetLoginOwner (struct AccountLoginHashEntry *loginEntry, fmHashTableEntry *ownerRef) |
| if the current login entry isn't locked by a login thread the calling login-thread obtains ownership More... | |
| bool | resetLoginOngoing (struct AccountLoginHashEntry *loginEntry, fmHashTableEntry *ownerRef) |
| indicates that the ongoing login process for this entry is finished but doesn't reset ownership. More... | |
| bool | testLoginEntryOwner (struct AccountLoginHashEntry *loginEntry, fmHashTableEntry *ownerRef) |
| tests whether the corresponding ownerEntry owns this loginEntry. More... | |
| bool | isLoginOngoing (struct AccountLoginHashEntry *loginEntry, fmHashTableEntry *ownerRef) |
| test whether this entry is currently resrved by an ongoing login process. More... | |
| bool | testLoginEntryOwner_internal (struct AccountLoginHashEntry *loginEntry, fmHashTableEntry *ownerRef) |
| #define JAP_DIGEST_LENGTH 28 |
| bool isLoginOngoing | ( | struct AccountLoginHashEntry * | loginEntry, |
| fmHashTableEntry * | ownerRef | ||
| ) |
test whether this entry is currently resrved by an ongoing login process.
References CAMutex::lock(), AccountLoginHashEntry::loginOngoing, AccountLoginHashEntry::ownerLock, and CAMutex::unlock().
Referenced by CAAccountingInstance::cleanupTableEntry().
| bool resetLoginOngoing | ( | struct AccountLoginHashEntry * | loginEntry, |
| fmHashTableEntry * | ownerRef | ||
| ) |
indicates that the ongoing login process for this entry is finished but doesn't reset ownership.
References CAMutex::lock(), AccountLoginHashEntry::loginOngoing, AccountLoginHashEntry::ownerLock, testLoginEntryOwner_internal(), and CAMutex::unlock().
Referenced by CAAccountingInstance::unlockLogin().
| bool testAndSetLoginOwner | ( | struct AccountLoginHashEntry * | loginEntry, |
| fmHashTableEntry * | ownerRef | ||
| ) |
if the current login entry isn't locked by a login thread the calling login-thread obtains ownership
References CAMutex::lock(), AccountLoginHashEntry::loginOngoing, AccountLoginHashEntry::ownerLock, AccountLoginHashEntry::ownerRef, and CAMutex::unlock().
Referenced by CAAccountingInstance::handleChallengeResponse_internal().
| bool testLoginEntryOwner | ( | struct AccountLoginHashEntry * | loginEntry, |
| fmHashTableEntry * | ownerRef | ||
| ) |
tests whether the corresponding ownerEntry owns this loginEntry.
References CAMutex::lock(), AccountLoginHashEntry::ownerLock, testLoginEntryOwner_internal(), and CAMutex::unlock().
Referenced by CAAccountingInstance::cleanupTableEntry().
| bool testLoginEntryOwner_internal | ( | struct AccountLoginHashEntry * | loginEntry, |
| fmHashTableEntry * | ownerRef | ||
| ) |
References AccountLoginHashEntry::ownerRef.
Referenced by resetLoginOngoing(), and testLoginEntryOwner().