2 #if !defined ONLY_LOCAL_PROXY || defined INCLUDE_MIDDLE_MIX
10 for(
UINT32 i=0;i<0x10000;i++)
176 oList.
add(c,NULL,&d);
185 oList.
add(c,NULL,&d);
189 for(
int j=0;j<100000;j++)
struct t_middlemixchannellist mmChannelListEntry
SINT32 getRandom(UINT32 *val)
Gets 32 random bits.
SINT32 lock()
Locks the lockable object by threadsafe incrementing a reference counter.
Data structure that stores all information about the currently open Mix channels.
LP_mmHashTableEntry * m_pHashTableOut
LP_mmHashTableEntry * m_pHashTableIn
SINT32 add(HCHANNEL channelIn, CASymChannelCipher *pCipher, HCHANNEL *channelOut)
Adds a new Channel to the Channellist.
SINT32 getInToOut(HCHANNEL channelIn, HCHANNEL *channelOut, CASymChannelCipher **ppCipher)
~CAMiddleMixChannelList()
SINT32 getOutToIn_intern_without_lock(HCHANNEL *channelIn, HCHANNEL channelOut, CASymChannelCipher **ppCipher)
SINT32 remove(HCHANNEL channelIn)
Removes a channel form the channellist.
struct t_middlemixchannellist * prev
struct t_middlemixchannellist * next
struct t_middlemixchannellist * prev
struct t_middlemixchannellist * next
CASymChannelCipher * pCipher
struct t_middlemixchannellist::dl_out list_HashTableOut
struct t_middlemixchannellist::dl_in list_HashTableIn