Mixes for Privacy and Anonymity in the Internet
|
Public Member Functions | |
CAChainTable (void) | |
~CAChainTable (void) | |
CAChain * | getEntry (UINT8 *a_chainId) |
CAChain * | createEntry () |
void | deleteEntry (UINT8 *a_chainId) |
UINT32 | getSize () |
CAChain * | getFirstEntry () |
CAChain * | getNextEntry () |
Private Member Functions | |
t_chaintableEntry * | getEntryInternal (UINT8 *a_chainId) |
void | removeEntryInternal (t_chaintableEntry *a_entry) |
void | getNextEntryInternal (t_chaintableIterator *a_iterator) |
Private Attributes | |
t_chaintableEntry ** | m_pChainTable |
CAMutex * | m_pMutex |
UINT32 | m_chaintableSize |
t_chaintableIterator * | m_pChaintableIterator |
CAChainTable::CAChainTable | ( | void | ) |
References m_chaintableSize, m_pChainTable, m_pChaintableIterator, m_pMutex, and MAX_POLLFD.
CAChainTable::~CAChainTable | ( | void | ) |
References getFirstEntry(), getNextEntry(), m_pChainTable, m_pChaintableIterator, m_pMutex, and t_chaintableIterator::removeEntry.
CAChain * CAChainTable::createEntry | ( | ) |
References t_chaintableEntry::chain, CHAIN_ID_LENGTH, chainId, E_SUCCESS, getEntryInternal(), getRandom(), CAMutex::lock(), m_chaintableSize, m_pChainTable, m_pMutex, MAX_POLLFD, t_chaintableEntry::rightEntry, t_chaintableEntry::rightEntryPointerOfLeftEntry, and CAMutex::unlock().
Referenced by CALastMixB::loop().
void CAChainTable::deleteEntry | ( | UINT8 * | a_chainId | ) |
References t_chaintableEntry::chain, getEntryInternal(), CAMutex::lock(), m_pMutex, and CAMutex::unlock().
Referenced by CALastMixB::loop().
|
private |
CAChain * CAChainTable::getFirstEntry | ( | ) |
References t_chaintableEntry::chain, t_chaintableIterator::currentEntry, getNextEntryInternal(), CAMutex::lock(), m_pChaintableIterator, m_pMutex, t_chaintableIterator::nextHashkey, t_chaintableIterator::removeEntry, removeEntryInternal(), and CAMutex::unlock().
Referenced by CALastMixB::loop(), and ~CAChainTable().
CAChain * CAChainTable::getNextEntry | ( | ) |
References t_chaintableEntry::chain, t_chaintableIterator::currentEntry, getNextEntryInternal(), CAMutex::lock(), m_pChaintableIterator, m_pMutex, and CAMutex::unlock().
Referenced by CALastMixB::loop(), and ~CAChainTable().
|
private |
References t_chaintableIterator::currentEntry, m_pChainTable, t_chaintableIterator::nextHashkey, t_chaintableIterator::removeEntry, removeEntryInternal(), and t_chaintableEntry::rightEntry.
Referenced by getFirstEntry(), and getNextEntry().
UINT32 CAChainTable::getSize | ( | ) |
References CAMutex::lock(), m_chaintableSize, m_pMutex, and CAMutex::unlock().
Referenced by CALastMixB::loop().
|
private |
References t_chaintableEntry::chain, m_chaintableSize, t_chaintableEntry::rightEntry, and t_chaintableEntry::rightEntryPointerOfLeftEntry.
Referenced by deleteEntry(), getFirstEntry(), and getNextEntryInternal().
|
private |
Referenced by CAChainTable(), createEntry(), getSize(), and removeEntryInternal().
|
private |
Referenced by CAChainTable(), createEntry(), getEntryInternal(), getNextEntryInternal(), and ~CAChainTable().
|
private |
Referenced by CAChainTable(), deleteEntry(), getEntryInternal(), getFirstEntry(), getNextEntry(), and ~CAChainTable().
|
private |
Referenced by CAChainTable(), createEntry(), deleteEntry(), getEntry(), getFirstEntry(), getNextEntry(), getSize(), and ~CAChainTable().