Mixes for Privacy and Anonymity in the Internet
Macros | Variables
errorcodes.hpp File Reference

Macros

#define E_UNKNOWN   -1
 
#define E_SHUTDOWN   -2
 
#define E_CLOSED   -3
 
#define E_UNSPECIFIED   -100
 
#define E_SPACE   -101
 
#define E_QUEUEFULL   -200
 
#define E_AGAIN   -300
 
#define E_TIMEDOUT   -301
 
#define E_SOCKETCLOSED   -302
 
#define E_SOCKET_CREATE   -307
 
#define E_SOCKET_LISTEN   -303
 
#define E_SOCKET_ACCEPT   -304
 
#define E_SOCKET_BIND   -305
 
#define E_SOCKET_LIMIT   -306
 
#define E_SOCKET_CONNECT   -308
 
#define E_UNKNOWN_HOST   -400
 
#define E_FILE_OPEN   -500
 
#define E_FILE_READ   -501
 
#define E_XML_PARSE   -600
 
#define E_NOT_CONNECTED   -700
 
#define E_NOT_FOUND   -701
 
#define E_INVALID   -800
 

Variables

const SINT32 E_SUCCESS =0
 

Macro Definition Documentation

◆ E_AGAIN

#define E_AGAIN   -300

◆ E_CLOSED

#define E_CLOSED   -3

◆ E_FILE_OPEN

#define E_FILE_OPEN   -500

◆ E_FILE_READ

#define E_FILE_READ   -501

◆ E_INVALID

#define E_INVALID   -800

◆ E_NOT_CONNECTED

#define E_NOT_CONNECTED   -700

◆ E_NOT_FOUND

#define E_NOT_FOUND   -701

◆ E_QUEUEFULL

#define E_QUEUEFULL   -200

◆ E_SHUTDOWN

#define E_SHUTDOWN   -2

◆ E_SOCKET_ACCEPT

#define E_SOCKET_ACCEPT   -304

◆ E_SOCKET_BIND

#define E_SOCKET_BIND   -305

◆ E_SOCKET_CONNECT

#define E_SOCKET_CONNECT   -308

◆ E_SOCKET_CREATE

#define E_SOCKET_CREATE   -307

◆ E_SOCKET_LIMIT

#define E_SOCKET_LIMIT   -306

◆ E_SOCKET_LISTEN

#define E_SOCKET_LISTEN   -303

◆ E_SOCKETCLOSED

#define E_SOCKETCLOSED   -302

◆ E_SPACE

#define E_SPACE   -101

◆ E_TIMEDOUT

#define E_TIMEDOUT   -301

◆ E_UNKNOWN

#define E_UNKNOWN   -1

◆ E_UNKNOWN_HOST

#define E_UNKNOWN_HOST   -400

◆ E_UNSPECIFIED

#define E_UNSPECIFIED   -100

◆ E_XML_PARSE

#define E_XML_PARSE   -600

Variable Documentation

◆ E_SUCCESS

const SINT32 E_SUCCESS =0

Referenced by CAAccountingDBInterface::__checkCountAllQuery(), CAAccountingDBInterface::__clearAccountStatus(), CAAccountingDBInterface::__deleteCC(), CAAccountingDBInterface::__getAccountStatus(), CAAccountingDBInterface::__getCostConfirmation(), CAAccountingDBInterface::__getUnsettledCostConfirmations(), CAAccountingInstance::__handleSettleResult(), CAAccountingDBInterface::__markAsSettled(), CAAccountingInstance::__newSettlementTransaction(), CAAccountingDBInterface::__storeAccountStatus(), CAAccountingDBInterface::__storeCostConfirmation(), CAAccountingDBInterface::__storePrepaidAmount(), CASocket::accept(), CAMuxSocket::accept(), CAFirstMixA::accountTrafficDownstream(), CAFirstMixA::accountTrafficUpstream(), CACertStore::add(), CASocketGroupEpoll::add(), CASocketList::add(), CACacheLoadBalancing::add(), CAQueue::add(), CAFirstMixChannelToQueueList::add(), CAMiddleMixChannelList::add(), CALastMixChannelList::add(), CASocketGroup::add(), CAFirstMixChannelList::addChannel(), CAASymCipher::addKeyPart(), CAMix::addMixInfo(), CAThreadPool::addRequest(), CASocketList::addSendMeCounter(), CAMultiSignature::addSignature(), CACmdLnOptions::addVisibleAddresses(), CAMix::appendCompatibilityInfo(), CACmdLnOptions::appendMixInfo_internal(), CADatagramSocket::bind(), CAConditionVariable::broadcast(), CACmdLnOptions::buildDefaultConfig(), CAAccountingControlChannel::CAAccountingControlChannel(), CAXMLErrorMessage::CAXMLErrorMessage(), CAMix::checkCompatibility(), CATempIPBlockList::checkIP(), CAAccountingInstance::clean(), CACacheLoadBalancing::clean(), CAFirstMix::clean(), CALastMix::clean(), CALocalProxy::clean(), CAMiddleMix::clean(), CAQueue::clean(), CATargetInterface::cleanAddr(), CAAccountingDBInterface::cleanup(), CACmdLnOptions::cleanup(), CALibProxytest::cleanup(), CAMsg::cleanup(), CAMuxSocket::cleanup(), CASocket::cleanup(), CASocketAddrINet::cleanup(), CAAccountingInstance::cleanupTableEntry(), CASocketList::clear(), CAReplayDatabase::clearDB(), CACmdLnOptions::clearListenerInterfaces(), CACmdLnOptions::clearTargetInterfaces(), CACmdLnOptions::clearVisibleAddresses(), CATargetInterface::cloneInto(), CAQueue::close(), CASocket::close(), CAFirstMixA::closeConnection(), CAMsg::closeEncryptedLog(), CAMsg::closeLog(), CATLSClientSocket::connect(), CASocket::connect(), CAFirstMix::connectToNextMix(), CAMiddleMix::connectToNextMix(), consumer(), CADatagramSocket::create(), CASocket::create(), CAChainTable::createEntry(), CACmdLnOptions::createMixOnCDConfiguration(), CACmdLnOptions::createSockets(), CASymCipherCTR::crypt1(), CASymCipherNull::crypt1(), CASymCipherOFB::crypt1(), CASymCipherCTR::crypt2(), CASymCipherNull::crypt2(), CASymCipherOFB::crypt2(), CACertificate::decode(), CABase64::decode(), CASignature::decodeRS(), decodeXMLEncryptedKey(), CAASymCipher::decrypt(), CASymCipher::decryptCBCwithPKCS7(), CASymCipherGCM::decryptMessage(), CAControlChannelDispatcher::decryptMessage(), CAASymCipher::decryptOAEP(), decryptXMLElement(), CAFirstMix::decUsers(), CAFirstMix::deleteCountryStats(), CADatabase::deleteDB(), CAReplayDatabase::deleteDB(), CAASymCipher::destroy(), CAThreadPool::destroy(), CATLSClientSocket::doTLSConnect(), CAFirstMix::doUserLogin_internal(), MemFormatTarget::dumpMem(), DOM_Output::dumpNode(), DOM_Output::dumpToMem(), CACmdLnOptions::enableEncryptedLog(), CABase64::encode(), CACertStore::encode(), CACertificate::encode(), CASignature::encodeRS(), encodeXMLEncryptedKey(), CAASymCipher::encrypt(), CASymCipher::encryptCBCwithPKCS7(), CASymCipherGCM::encryptMessage(), CAControlChannelDispatcher::encryptMessage(), CAASymCipher::encryptOAEP(), CAASymCipher::encryptPKCS1(), encryptXMLElement(), CADatabase::fill(), CAReplayDatabase::fill(), CAFileSystemDirectory::find(), CAMultiSignature::findSKI(), CAAccountingInstance::finishLoginProcess(), CAASymCipher::generateKeyPair(), CASignature::generateSignKey(), CASocketList::get(), CAQueue::get(), CACmdLnOptions::getAccessControlCredential(), CACmdLnOptions::getAiID(), CACertificate::getAuthorityKeyIdentifier(), CAInfoService::getCascadeHeloXMLAsString(), CACmdLnOptions::getCascadeName(), CAAccountingDBInterface::getConnection(), CAHttpClient::getContent(), CACmdLnOptions::getCountryStatsDBConnectionLoginData(), CACmdLnOptions::getCredential(), getcurrentTime(), getcurrentTimeMicros(), getcurrentTimeMillis(), CACmdLnOptions::getDatabaseHost(), CACmdLnOptions::getDatabaseName(), CACmdLnOptions::getDatabasePassword(), CACmdLnOptions::getDatabaseUsername(), getDOMChildByName(), getDOMElementAttribute(), getDOMElementValue(), CACmdLnOptions::getEncryptedLogDir(), CASocketAddrINet::getHostName(), CAListenerInterface::getInstance(), CAMiddleMixChannelList::getInToOut(), CASocketAddrINet::getIP(), CASocketAddrINet::getIPAsStr(), CASocketAddrINet::getIPForString(), CAASymCipher::getKeyPart(), getLastDOMChildByName(), CAFirstMix::getLevel(), CASocketAddrINet::getLocalHostIP(), CASocketAddrINet::getLocalHostName(), CASocket::getLocalIP(), CACmdLnOptions::getLogDir(), CASocket::getMaxOpenSockets(), CAMix::getMixCascadeInfo(), CAFirstMix::getMixedPackets(), CAInfoService::getMixHeloXMLAsString(), CACmdLnOptions::getMixHost(), CACmdLnOptions::getMixId(), CACmdLnOptions::getMixXml(), CAFileSystemDirectory::getNextSearchResult(), getNodeName(), CASocket::getNonBlocking(), CAInfoService::getOperatorTnCsAsStrings(), CAMiddleMixChannelList::getOutToIn_intern_without_lock(), CAInfoService::getPaymentInstance(), CASocket::getPeerIP(), CACmdLnOptions::getPidFile(), CAASymCipher::getPublicKeyAsDOMElement(), CAASymCipher::getPublicKeyAsXML(), getRandom(), CACertificate::getRawSubjectKeyIdentifier(), CAReplayDatabase::getReplayTimestampForTime(), getSignatureElements(), CASignature::getSignKey(), CAMultiSignature::getSKI(), CAInfoService::getStatusXMLAsString(), CACertificate::getSubjectKeyIdentifier(), getTermsAndConditionsTemplateRefId(), CAReplayDatabase::getTimeForReplayTimestamp(), CACmdLnOptions::getUser(), CASignature::getVerifyKey(), CASignature::getVerifyKeyHash(), CACmdLnOptions::getVisibleAddress(), CAAccountingInstance::handleAccountCertificate_internal(), CAAccountingInstance::handleChallengeResponse_internal(), CAInfoService::handleConfigEvent(), CAAccountingInstance::handleCostConfirmation_internal(), CAFirstMix::handleKeyInfoExtensions(), CAFirstMix::handleTermsAndConditionsExtension(), CAFirstMix::handleTermsAndConditionsLogin(), CAFirstMix::incMixedPackets(), CASocketList::increasePool(), CAFirstMix::incUsers(), CAInfoService::InfoLoop(), CAAccountingDBInterface::init(), CAFirstMix::init(), CALastMix::init(), CALibProxytest::init(), CALocalProxy::init(), CAMiddleMix::init(), CAMsg::init(), CAMuxSocket::init(), CASocket::init(), CASocketAddrINet::init(), CAAccountingInstance::init(), CAAccountingBIInterface::initBIConnection(), CAFirstMix::initCountryStats(), CAAccountingDBInterface::initDBConnection(), CACmdLnOptions::initLogging(), CAMiddleMix::initMixCascadeInfo(), CAMix::initMixCascadeInfo(), CAFirstMix::initMixParameters(), CAFirstMix::initOnce(), CALastMix::initOnce(), CALocalProxy::initOnce(), CAMiddleMix::initOnce(), CAMix::initOnce(), initRandom(), CAAccountingInstance::initTableEntry(), CAReplayCtrlChannelMsgProc::initTimestampsMessageTemplate(), CADatabase::insert(), CAIPList::insertIP(), CATempIPBlockList::insertIP(), integrateDOMNode(), CACmdLnOptions::invokeOptionSetters(), isAllowedToPassRestrictions(), CAThread::join(), CASocket::listen(), CALockAble::lock(), CAMutex::lock(), CAReadWriteLock::lockRead(), CAReadWriteLock::lockWrite(), CALocalProxy::loop(), CAFirstMixA::loop(), CALastMixA::loop(), CAFirstMixB::loop(), CALastMixB::loop(), main(), CAAccountingSettleThread::mainLoop(), DOM_Output::makeCanonical(), CAAccountingInstance::makeCCRequest(), CAAccountingInstance::makeInitialCCRequest(), CADatabase::measurePerformance(), CAReplayDatabase::measurePerformance(), msSleep(), CAAccountingInstance::newSettlementTransaction(), CADatabase::nextClock(), CAReplayDatabase::nextClock(), CAMsg::openEncryptedLog(), CAMsg::openLog(), CACmdLnOptions::parse(), CAHttpClient::parseHTTPHeader(), CACmdLnOptions::parseInfoServices(), parseS64(), CASignature::parseSignKeyXML(), parseU64(), parseUINT16(), CAQueue::peek(), CAPool::pool(), CAFirstMixChannelList::popTimeoutEntry_internal(), CAAccountingInstance::prepareCCRequest(), CAMsg::printMsg(), CAReplayCtrlChannelMsgProc::proccessGetTimestamp(), CAReplayCtrlChannelMsgProc::proccessGotTimestamp(), CASyncControlChannel::proccessMessage(), CAControlChannelDispatcher::proccessMixPacket(), CAAccountingInstance::processJapMessage(), CALastMix::processKeyExchange(), CAMiddleMix::processKeyExchange(), CALocalProxy::processKeyExchange(), CACmdLnOptions::processXmlConfiguration(), CAReplayControlChannel::processXMLMessage(), producer(), CAReplayCtrlChannelMsgProc::propagateCurrentReplayTimestamp(), CAFirstMixChannelList::pushTimeoutEntry_internal(), CAThreadList::put(), CAMiddleMix::putMixPacketIntoQueueSendToMixBefore(), readPasswd(), CACmdLnOptions::readXmlConfiguration(), CAMuxSocket::receive(), CAClientSocket::receiveFully(), CASocket::receiveFullyT(), CAFirstMix::reconfigure(), CALastMix::reconfigure(), CAMix::reconfigure(), CAControlChannelDispatcher::registerControlChannel(), CAAccountingDBInterface::releaseConnection(), CAFirstMixChannelList::remove(), CASocketGroup::remove(), CASocketGroupEpoll::remove(), CAThreadList::remove(), CAMiddleMixChannelList::remove(), CAQueue::remove(), CAFirstMixChannelList::removeChannel(), CAFirstMixChannelToQueueList::removeChannel(), CALastMixChannelList::removeChannel(), CACertificate::removeColons(), CAControlChannelDispatcher::removeControlChannel(), CAFirstMixChannelList::removeFromTimeoutList(), CAIPList::removeIP(), removePidFile(), CACmdLnOptions::reread(), CAMsg::rotateLog(), saveFile(), CACmdLnOptions::saveToFile(), CATLSClientSocket::send(), CAMuxSocket::send(), CADatagramSocket::send(), CAAccountingInstance::sendAILoginConfirmation(), CAInfoService::sendCascadeHelo(), CAAccountingInstance::sendCCRequest(), CASocket::sendFully(), CATLSClientSocket::sendFully(), CASocket::sendFullyTimeOut(), CAHttpClient::sendGetRequest(), CAInfoService::sendHelo(), CAAccountingInstance::sendInitialCCRequest(), CAControlChannelDispatcher::sendMessages(), CAInfoService::sendMixHelo(), CAInfoService::sendOperatorTnCData(), CAHttpClient::sendPostRequest(), CAFirstMix::sendReplayTimestampRequestsToAllMixes(), CAInfoService::sendStatus(), CASocket::sendTimeOut(), CAFirstMixA::sendToUsers(), CAChain::sendUpstreamDataInternal(), CAAbstractControlChannel::sendXMLMessage(), CATargetInterface::set(), CACmdLnOptions::setAccessControlCredential(), CACmdLnOptions::setAccountingDatabase(), CACmdLnOptions::setAccountingHardLimit(), CACmdLnOptions::setAccountingOptions(), CACmdLnOptions::setAccountingSoftLimit(), CAIPAddrWithNetmask::setAddr(), CASocketAddrINet::setAddr(), CACmdLnOptions::setCascadeName(), CACmdLnOptions::setCascadeNameFromOptions(), CAMuxSocket::setCASocket(), CACmdLnOptions::setCertificateOptions(), CAMuxSocket::setCipher(), CAMuxSocket::setCrypt(), setCurrentTimeMilliesAsDOMAttribute(), CACmdLnOptions::setDaemonMode(), CAAbstractControlChannel::setDispatcher(), setDOMElementAttribute(), setDOMElementValue(), CACmdLnOptions::setDynamicMix(), CACmdLnOptions::setGeneralOptions(), CACmdLnOptions::setInfoServices(), CASocketAddrINet::setIP(), CASymCipher::setIV(), CASymCipherCTR::setIV2(), CASymCipherNull::setIV2(), CASymCipherOFB::setIV2(), CASymCipherCTR::setIVs(), CASymCipherNull::setIVs(), CASymCipherOFB::setIVs(), CASocket::setKeepAlive(), CACmdLnOptions::setKeepAliveTraffic(), CASymCipherCTR::setKey(), CASymCipherNull::setKey(), CASymCipher::setKey(), CASymCipherOFB::setKey(), CAMuxSocket::setKey(), CASymCipherCTR::setKeys(), CASymCipherNull::setKeys(), CASymCipherOFB::setKeys(), CACmdLnOptions::setListenerInterfaces(), CACmdLnOptions::setLogDir(), CACmdLnOptions::setLoggingOptions(), CAMsg::setLogLevel(), CAMsg::setLogOptions(), CAThread::setMainLoop(), CAMsg::setMaxLogFileSize(), CASocket::setMaxNormalSockets(), CACmdLnOptions::setMaxUsers(), CACmdLnOptions::setMinCascadeLength(), CACmdLnOptions::setMixCertificateVerification(), CACmdLnOptions::setMixDescription(), CACmdLnOptions::setMixID(), CACmdLnOptions::setMixName(), CAFirstMix::setMixParameters(), CACmdLnOptions::setMixType(), CAInfoService::setMultiSignature(), CAIPAddrWithNetmask::setNetmask(), CACmdLnOptions::setNetworkOptions(), CACmdLnOptions::setNewValues(), CACmdLnOptions::setNextMix(), CACmdLnOptions::setNextMixCertificate(), CACmdLnOptions::setNextMixTestCertificate(), CASocket::setNonBlocking(), CACmdLnOptions::setNrOfFileDescriptors(), CACmdLnOptions::setOwnCertificate(), CACmdLnOptions::setOwnOperatorCertificate(), CASocketAddrUnix::setPath(), CACmdLnOptions::setPaymentInstance(), CACmdLnOptions::setPaymentReminder(), CAAccountingBIInterface::setPIServerConfiguration(), CASocketGroup::setPoolForWrite(), CASocketGroupEpoll::setPoolForWrite(), CASocketAddrINet::setPort(), CACmdLnOptions::setPrepaidInterval(), CACmdLnOptions::setPrevMix(), CACmdLnOptions::setPrevMixCertificate(), CACmdLnOptions::setPrevMixTestCertificate(), CACmdLnOptions::setPriceCertificate(), CAASymCipher::setPublicKey(), CAASymCipher::setPublicKeyAsDOMNode(), CAMuxSocket::setReceiveKey(), CACmdLnOptions::setRessourceOptions(), CAMuxSocket::setSendKey(), CATLSClientSocket::setServerCertificate(), CACmdLnOptions::setServerMonitoring(), CACmdLnOptions::setSettleInterval(), CAAbstractXMLSignable::setSignature(), CASignature::setSignKey(), CAHttpClient::setSocket(), CASocket::setSocket(), CACertificate::setSubjectKeyIdentifier(), CACmdLnOptions::setSymChannelCipherAlgorithm(), CACmdLnOptions::setTargetInterfaces(), CALastMix::setTargets(), CACmdLnOptions::setTermsAndConditions(), CACmdLnOptions::setTermsAndConditionsList(), CACmdLnOptions::setTermsAndConditionsTemplates(), CASocketList::setThreadSafe(), CAAccountingBIInterface::settle(), CAAccountingBIInterface::settleAll(), CAAccountingInstance::settlementTransaction(), CACmdLnOptions::setTrustedRootCertificates(), CACmdLnOptions::setUserID(), CAXMLErrorMessage::setValues(), CASignature::setVerifyKey(), CASignature::sign(), CAConditionVariable::signal(), CAInfoService::signal(), CASignature::signRSA(), CAMultiSignature::signXML(), CADatabase::simulateInsert(), CAReplayDatabase::simulateInsert(), sSleep(), CALocalProxy::start(), CAMix::start(), CAThread::start(), CADatabase::stop(), CAInfoService::stop(), CAReplayDatabase::stop(), CAReplayCtrlChannelMsgProc::stopTimeStampPorpagation(), CAAccountingBIInterface::terminateBIConnection(), CAAccountingDBInterface::terminateDBConnection(), CADatabase::test(), CAFirstMixChannelList::test(), CAQueue::test(), CAReplayDatabase::test(), CAASymCipher::testSpeed(), CAListenerInterface::toDOMElement(), toLower(), CAIPAddrWithNetmask::toString(), CASocketAddrINet::toString(), CASocketAddrUnix::toString(), CAAbstractXMLEncodable::toXmlDocument(), CAXMLErrorMessage::toXmlElement(), CALockAble::unlock(), CAMutex::unlock(), CAReadWriteLock::unlock(), CACertificate::verify(), CASignature::verify(), CASignature::verifyDER(), CACertStore::verifyMixCert(), CAMultiSignature::verifyXML(), CASignature::verifyXML(), CAConditionVariable::wait(), CAThreadList::waitAndRemoveAll(), CALockAble::waitForDestroy(), and CAInfoService::xmlDocToStringWithSignature().