TorControl Class Reference

#include <torcontrol.h>

List of all members.

Public Slots

bool closeCircuit (quint64 circid, bool ifUnused=false, QString *errmsg=0)
bool closeStream (quint64 streamid, QString *errmsg=0)

Signals

void started ()
void startFailed (QString errmsg)
void stopped (int exitCode, QProcess::ExitStatus exitStatus)
void stopped ()
void connected ()
void connectFailed (QString errmsg)
void disconnected ()
void authenticated ()
void authenticationFailed (QString errmsg)

Public Member Functions

 TorControl ()
 ~TorControl ()
void start ()
bool stop (QString *errmsg=0)
bool isRunning ()
bool isVidaliaRunningTor ()
void connect ()
void disconnect ()
bool isConnected ()
bool authenticate (const QByteArray cookie, QString *errmsg=0)
bool authenticate (const QString password=QString(), QString *errmsg=0)
ProtocolInfo protocolInfo (QString *errmsg=0)
bool getInfo (QHash< QString, QString > &map, QString *errmsg=0)
bool getInfo (QString key, QString &val, QString *errmsg=0)
bool signal (TorSignal::Signal sig, QString *errmsg=0)
QHostAddress getSocksAddress (QString *errmsg=0)
QStringList getSocksAddressList (QString *errmsg=0)
quint16 getSocksPort (QString *errmsg=0)
QList< quint16 > getSocksPortList (QString *errmsg=0)
QString getTorVersionString ()
quint32 getTorVersion ()
bool setEvent (TorEvents::TorEvent e, QObject *obj, bool add, bool set=true, QString *errmsg=0)
bool setLogEvents (uint filter, QObject *obj, QString *errmsg=0)
bool setEvents (QString *errmsg=0)
bool setConf (QHash< QString, QString > map, QString *errmsg=0)
bool setConf (QString key, QString value, QString *errmsg=0)
bool getConf (QHash< QString, QString > &map, QString *errmsg=0)
bool getConf (QHash< QString, QStringList > &map, QString *errmsg=0)
bool getConf (QString key, QString &value, QString *errmsg=0)
bool getConf (QString key, QStringList &value, QString *errmsg=0)
bool saveConf (QString *errmsg=0)
bool resetConf (QStringList keys, QString *errmsg=0)
bool resetConf (QString key, QString *errmsg=0)
RouterDescriptor getDescriptorByName (QString name, QString *errmsg=0)
RouterDescriptor getDescriptorById (QString id, QString *errmsg=0)
QList< RouterDescriptorgetDescriptorListByName (QStringList names, QString *errmsg=0)
QList< RouterDescriptorgetDescriptorListById (QStringList ids, QString *errmsg=0)
QList< RouterDescriptorgetRouterList (QString *errmsg=0)
QStringList getRouterIDList (QString *errmsg=0)
QList< CircuitgetCircuits (QString *errmsg=0)
QList< StreamgetStreams (QString *errmsg=0)
AddressMap getAddressMap (AddressMap::AddressMapType type=AddressMap::AddressMapAll, QString *errmsg=0)

Private Slots

void onStarted ()
void onStartFailed (QString errmsg)
void onStopped (int exitCode, QProcess::ExitStatus exitStatus)
void onConnected ()
void onConnectFailed (QString errmsg)
void onDisconnected ()
void onLogStdout (QString severity, QString message)
void onAuthenticated ()

Private Member Functions

bool send (ControlCommand cmd, ControlReply &reply, QString *errmsg=0)
bool send (ControlCommand cmd, QString *errmsg=0)
void closeTorProcess ()

Private Attributes

ControlConnection_controlConn
TorProcess_torProcess
TorEvents _torEvents
QString _torVersion


Detailed Description

Definition at line 49 of file torcontrol.h.


Constructor & Destructor Documentation

TorControl::TorControl (  ) 

Default constructor

Create an instance of a connection to Tor's control interface and give it an object to use to handle asynchronous events.

Definition at line 36 of file torcontrol.cpp.

References _controlConn, _torEvents, _torProcess, connected(), connectFailed(), disconnected(), onConnected(), onConnectFailed(), onDisconnected(), onStarted(), onStartFailed(), onStopped(), started(), and startFailed().

TorControl::~TorControl (  ) 

Default destructor

Definition at line 70 of file torcontrol.cpp.

References _controlConn, disconnect(), isConnected(), isVidaliaRunningTor(), and stop().


Member Function Documentation

void TorControl::start (  ) 

Start the Tor process

Start the Tor process. Returns true if the process was successfully started, otherwise returns false.

Definition at line 86 of file torcontrol.cpp.

References _torProcess, expand_filename(), TorSettings::getArguments(), TorSettings::getExecutable(), TorSettings::getTorrc(), isRunning(), TorService::isSupported(), onLogStdout(), onStarted(), onStartFailed(), onStopped(), TorProcess::start(), started(), startFailed(), and touch_file().

Referenced by MainWindow::start().

bool TorControl::stop ( QString *  errmsg = 0  ) 

Stop the Tor process

Stop the Tor process.

Definition at line 147 of file torcontrol.cpp.

References _torProcess, TorSignal::Halt, isRunning(), signal(), and TorProcess::stop().

Referenced by MainWindow::connectFailed(), MainWindow::shutdown(), MainWindow::stop(), and ~TorControl().

bool TorControl::isRunning (  ) 

Detect if the Tor process is running

Detect if the Tor process is running.

Definition at line 199 of file torcontrol.cpp.

References _torProcess, TorSettings::getControlAddress(), TorSettings::getControlPort(), net_test_connect(), and TorProcess::pid().

Referenced by MainWindow::authenticationFailed(), MainWindow::MainWindow(), AboutDialog::showWindow(), start(), and stop().

bool TorControl::isVidaliaRunningTor (  ) 

Detects if the Tor process is running under Vidalia.

Detects if the Tor process is running under Vidalia. Returns true if Vidalia owns the Tor process, or false if it was an independent Tor.

Definition at line 189 of file torcontrol.cpp.

References _torProcess, and TorProcess::pid().

Referenced by MainWindow::close(), MainWindow::shutdown(), MainWindow::started(), and ~TorControl().

void TorControl::connect (  ) 

Connect to Tor's control socket

Connect to Tor's control port. The control port to use is determined by Vidalia's configuration file.

Definition at line 224 of file torcontrol.cpp.

References _controlConn, ControlConnection::connect(), TorSettings::getControlAddress(), and TorSettings::getControlPort().

Referenced by MainWindow::connectFailed(), and MainWindow::started().

void TorControl::disconnect (  ) 

Disconnect from Tor's control socket

Disconnect from Tor's control port

Definition at line 249 of file torcontrol.cpp.

References _controlConn, ControlConnection::disconnect(), and isConnected().

Referenced by MainWindow::disconnect(), and ~TorControl().

bool TorControl::isConnected (  ) 

Check if we're connected to Tor's control socket

Check if the control socket is connected

Definition at line 274 of file torcontrol.cpp.

References _controlConn, ControlConnection::Connected, and ControlConnection::status().

Referenced by MainWindow::authenticationFailed(), MainWindow::close(), disconnect(), MainWindow::enableNewIdentity(), ServerSettings::isServerEnabled(), ServerPage::save(), setEvent(), setLogEvents(), ServerSettings::value(), and ~TorControl().

bool TorControl::authenticate ( const QByteArray  cookie,
QString *  errmsg = 0 
)

Sends an authentication cookie to Tor.

Sends an authentication cookie to Tor. The syntax is:

"AUTHENTICATE" SP 1*HEXDIG CRLF

Definition at line 310 of file torcontrol.cpp.

References authenticationFailed(), base16_encode(), err(), onAuthenticated(), and send().

Referenced by MainWindow::authenticate().

bool TorControl::authenticate ( const QString  password = QString(),
QString *  errmsg = 0 
)

Sends an authentication password to Tor.

Sends an authentication password to Tor. The syntax is:

"AUTHENTICATE" SP QuotedString CRLF

Definition at line 329 of file torcontrol.cpp.

References authenticationFailed(), err(), onAuthenticated(), send(), and string_escape().

ProtocolInfo TorControl::protocolInfo ( QString *  errmsg = 0  ) 

Sends a PROTOCOLINFO command to Tor and parses the response.

Definition at line 361 of file torcontrol.cpp.

References ControlReply::getLines(), ReplyLine::getMessage(), ReplyLine::getStatus(), send(), ProtocolInfo::setAuthMethods(), ProtocolInfo::setCookieAuthFile(), ProtocolInfo::setTorVersion(), and string_parse_keyvals().

Referenced by MainWindow::authenticate().

bool TorControl::getInfo ( QHash< QString, QString > &  map,
QString *  errmsg = 0 
)

Sends a GETINFO message to Tor based on the given keys

Sends a GETINFO message to Tor based on the given map of keyvals. The syntax is:

"GETINFO" 1*(SP keyword) CRLF

Definition at line 409 of file torcontrol.cpp.

References ControlCommand::addArgument(), ControlReply::getLines(), ReplyLine::getMessage(), and send().

Referenced by getInfo(), and onAuthenticated().

bool TorControl::getInfo ( QString  key,
QString &  val,
QString *  errmsg = 0 
)

Sends a GETINFO message for a single info value to Tor

Overloaded method to send a GETINFO command for a single info value

Definition at line 436 of file torcontrol.cpp.

References getInfo().

bool TorControl::signal ( TorSignal::Signal  sig,
QString *  errmsg = 0 
)

Sends a signal to Tor

Definition at line 450 of file torcontrol.cpp.

References _controlConn, ControlCommand::addArgument(), TorSignal::Halt, send(), ControlConnection::send(), TorSignal::Shutdown, and TorSignal::toString().

Referenced by MainWindow::newIdentity(), stop(), and MainWindow::stop().

QHostAddress TorControl::getSocksAddress ( QString *  errmsg = 0  ) 

Returns an address on which Tor is listening for application requests. If none are available, a null QHostAddress is returned.

Definition at line 463 of file torcontrol.cpp.

References getSocksAddressList(), and getSocksPort().

Referenced by NetViewer::onAuthenticated().

QStringList TorControl::getSocksAddressList ( QString *  errmsg = 0  ) 

Returns a (possibly empty) list of all currently configured SocksListenAddress entries.

Definition at line 488 of file torcontrol.cpp.

References getConf().

Referenced by getSocksAddress(), and getSocksPortList().

quint16 TorControl::getSocksPort ( QString *  errmsg = 0  ) 

Returns a valid SOCKS port for Tor, or 0 if Tor is not accepting application requests.

Definition at line 500 of file torcontrol.cpp.

References getSocksPortList().

Referenced by getSocksAddress(), and NetViewer::onAuthenticated().

QList< quint16 > TorControl::getSocksPortList ( QString *  errmsg = 0  ) 

Returns a list of all currently configured SOCKS ports. If Tor is not accepting any application connections, an empty list will be returned.

Definition at line 512 of file torcontrol.cpp.

References getConf(), and getSocksAddressList().

Referenced by getSocksPort().

QString TorControl::getTorVersionString (  ) 

Returns Tor's version as a string.

Reeturns Tor's version as a string.

Definition at line 551 of file torcontrol.cpp.

References _torVersion.

Referenced by AboutDialog::showWindow().

quint32 TorControl::getTorVersion (  ) 

Returns Tor's version as a numeric value.

Returns Tor's version as a numeric value. Note that this discards any version status flag, such as "-alpha" or "-rc".

Definition at line 559 of file torcontrol.cpp.

References _torVersion.

Referenced by ServerSettings::apply(), NetViewer::circuitPathIDs(), ServerSettings::confValues(), and ServerSettings::value().

bool TorControl::setEvent ( TorEvents::TorEvent  e,
QObject *  obj,
bool  add,
bool  set = true,
QString *  errmsg = 0 
)

Sets an event and its handler. If add is true, then the event is added, otherwise it is removed. If set is true, then the given event will be registered with Tor.

Definition at line 589 of file torcontrol.cpp.

References _torEvents, TorEvents::add(), isConnected(), TorEvents::remove(), and setEvents().

Referenced by BandwidthGraph::BandwidthGraph(), NetViewer::NetViewer(), and setLogEvents().

bool TorControl::setLogEvents ( uint  filter,
QObject *  obj,
QString *  errmsg = 0 
)

Registers for a set of logging events according to the given filter.

Registers for a set of logging events according to the given filter. If the control socket is currently connected, this method will try to register the log events with Tor, otherwise it will simply return true.

Definition at line 607 of file torcontrol.cpp.

References LogEvent::Debug, LogEvent::Error, LogEvent::Info, isConnected(), TorEvents::LogDebug, TorEvents::LogError, TorEvents::LogInfo, TorEvents::LogNotice, TorEvents::LogWarn, LogEvent::Notice, setEvent(), setEvents(), and LogEvent::Warn.

Referenced by MessageLog::registerLogEvents().

bool TorControl::setEvents ( QString *  errmsg = 0  ) 

Register events of interest with Tor

Register for the events currently in the event list

Definition at line 619 of file torcontrol.cpp.

References _torEvents, ControlCommand::addArgument(), TorEvents::eventList(), send(), and TorEvents::toString().

Referenced by MainWindow::authenticated(), setEvent(), and setLogEvents().

bool TorControl::setConf ( QHash< QString, QString >  map,
QString *  errmsg = 0 
)

Sets each configuration key in map to the value associated with its key.

Sets each configuration key in map to the value associated with its key.

Definition at line 633 of file torcontrol.cpp.

References ControlCommand::addArgument(), and send().

Referenced by ServerSettings::apply(), and setConf().

bool TorControl::setConf ( QString  key,
QString  value,
QString *  errmsg = 0 
)

Sets a single configuration key to the given value.

Definition at line 652 of file torcontrol.cpp.

References setConf().

bool TorControl::getConf ( QHash< QString, QString > &  map,
QString *  errmsg = 0 
)

Gets values for a set of configuration keys, each of which has a single value.

Definition at line 662 of file torcontrol.cpp.

Referenced by getConf(), getSocksAddressList(), getSocksPortList(), ServerSettings::isServerEnabled(), and ServerSettings::value().

bool TorControl::getConf ( QHash< QString, QStringList > &  map,
QString *  errmsg = 0 
)

Gets a set of configuration keyvalues and stores them in map.

Definition at line 680 of file torcontrol.cpp.

References ControlCommand::addArgument(), ControlReply::getLines(), ReplyLine::getMessage(), and send().

bool TorControl::getConf ( QString  key,
QString &  value,
QString *  errmsg = 0 
)

Gets a single configuration value for key.

Definition at line 717 of file torcontrol.cpp.

References getConf().

bool TorControl::getConf ( QString  key,
QStringList &  value,
QString *  errmsg = 0 
)

Gets a list of configuration values for key.

Definition at line 729 of file torcontrol.cpp.

References getConf().

bool TorControl::saveConf ( QString *  errmsg = 0  ) 

Asks Tor to save the current configuration to its torrc

Asks Tor to save the current configuration to its torrc.

Definition at line 743 of file torcontrol.cpp.

References send().

Referenced by ServerSettings::apply().

bool TorControl::resetConf ( QStringList  keys,
QString *  errmsg = 0 
)

Tells Tor to reset the given configuration keys back to defaults.

Definition at line 751 of file torcontrol.cpp.

References ControlCommand::addArgument(), and send().

Referenced by ServerSettings::apply(), and resetConf().

bool TorControl::resetConf ( QString  key,
QString *  errmsg = 0 
)

Tells Tor to reset a configuration key back to its default value.

Tells Tor to reset a single given configuration key back to its default value.

Definition at line 765 of file torcontrol.cpp.

References resetConf().

RouterDescriptor TorControl::getDescriptorByName ( QString  name,
QString *  errmsg = 0 
)

Gets a descriptor for the given router name.

Gets the descriptor for the specified router name.

Definition at line 772 of file torcontrol.cpp.

References getDescriptorListByName().

Referenced by NetViewer::circuitPathIDs().

RouterDescriptor TorControl::getDescriptorById ( QString  id,
QString *  errmsg = 0 
)

Gets a descriptor for the given router ID.

Gets the descriptor for the specified ID.

Definition at line 787 of file torcontrol.cpp.

References getDescriptorListById().

Referenced by NetViewer::circuitPathNames().

QList< RouterDescriptor > TorControl::getDescriptorListByName ( QStringList  nameList,
QString *  errmsg = 0 
)

Gets descriptors for the given list of router names.

Gets router descriptors for all names in nameList.

Definition at line 802 of file torcontrol.cpp.

References ControlCommand::addArgument(), ReplyLine::getData(), ControlReply::getLines(), ReplyLine::getStatus(), and send().

Referenced by getDescriptorByName().

QList< RouterDescriptor > TorControl::getDescriptorListById ( QStringList  idlist,
QString *  errmsg = 0 
)

Gets descriptors for the given list of router IDs.

Gets router descriptors for all IDs in idlist.

Definition at line 833 of file torcontrol.cpp.

References ControlCommand::addArgument(), ReplyLine::getData(), ControlReply::getLines(), ReplyLine::getStatus(), and send().

Referenced by getDescriptorById(), getRouterList(), and NetViewer::loadDescriptors().

QList< RouterDescriptor > TorControl::getRouterList ( QString *  errmsg = 0  ) 

Gets a list of descriptors for all routers Tor knows about.

Gets a list of RouterDescriptor objects for all routers that Tor currently knows about.

Definition at line 874 of file torcontrol.cpp.

References getDescriptorListById(), and getRouterIDList().

QStringList TorControl::getRouterIDList ( QString *  errmsg = 0  ) 

Gets a list of router IDs for all routers Tor knows about.

Definition at line 884 of file torcontrol.cpp.

References ControlReply::getMessage(), and send().

Referenced by getRouterList(), and NetViewer::refresh().

QList< Circuit > TorControl::getCircuits ( QString *  errmsg = 0  ) 

Gets a list of current circuits.

Definition at line 912 of file torcontrol.cpp.

References Circuit::fromString(), ControlReply::getData(), ControlReply::getMessage(), Circuit::isEmpty(), and send().

Referenced by NetViewer::loadConnections().

QList< Stream > TorControl::getStreams ( QString *  errmsg = 0  ) 

Gets a list of current streams.

Definition at line 952 of file torcontrol.cpp.

References Stream::fromString(), ControlReply::getData(), ControlReply::getMessage(), Stream::isEmpty(), and send().

Referenced by NetViewer::loadConnections().

AddressMap TorControl::getAddressMap ( AddressMap::AddressMapType  type = AddressMap::AddressMapAll,
QString *  errmsg = 0 
)

Gets a list of address mappings of the type specified by type (defaults to AddressMapAll.

Definition at line 990 of file torcontrol.cpp.

References AddressMap::add(), ControlCommand::addArgument(), AddressMap::AddressMapCache, AddressMap::AddressMapConfig, AddressMap::AddressMapControl, ControlReply::getData(), and send().

Referenced by NetViewer::loadAddressMap().

bool TorControl::closeCircuit ( quint64  circid,
bool  ifUnused = false,
QString *  errmsg = 0 
) [slot]

Closes the circuit specified by circid. If ifUnused is true, then the circuit will not be closed unless it is unused.

Definition at line 941 of file torcontrol.cpp.

References ControlCommand::addArgument(), and send().

bool TorControl::closeStream ( quint64  streamid,
QString *  errmsg = 0 
) [slot]

Closes the stream specified by streamid.

Definition at line 980 of file torcontrol.cpp.

References ControlCommand::addArgument(), and send().

void TorControl::started (  )  [signal]

Emitted when the Tor process has started

Referenced by onStarted(), start(), and TorControl().

void TorControl::startFailed ( QString  errmsg  )  [signal]

Emitted when the Tor process fails to start.

Referenced by onStartFailed(), start(), and TorControl().

void TorControl::stopped ( int  exitCode,
QProcess::ExitStatus  exitStatus 
) [signal]

Emitted when the Tor process has stopped

void TorControl::stopped (  )  [signal]

Emitted when the Tor process has stopped.

Referenced by onStopped().

void TorControl::connected (  )  [signal]

Emitted when the controller has connected to Tor

Referenced by onConnected(), and TorControl().

void TorControl::connectFailed ( QString  errmsg  )  [signal]

Emitted when the controller failed to connect to Tor.

Referenced by onConnectFailed(), and TorControl().

void TorControl::disconnected (  )  [signal]

Emitted when the controller has disconnected from Tor

Referenced by onDisconnected(), and TorControl().

void TorControl::authenticated (  )  [signal]

Emitted when the control socket is connected and authenticated.

Referenced by onAuthenticated().

void TorControl::authenticationFailed ( QString  errmsg  )  [signal]

Emitted when Tor rejects our authentication attempt.

Referenced by authenticate().

bool TorControl::send ( ControlCommand  cmd,
ControlReply reply,
QString *  errmsg = 0 
) [private]

Send a message to Tor and read the response

Send a message to Tor and reads the response. If Vidalia was unable to send the command to Tor or read its response, false is returned. If the response was read and the status code is not 250 OK, false is also returned.

Definition at line 284 of file torcontrol.cpp.

References _controlConn, ControlReply::getMessage(), ControlReply::getStatus(), and ControlConnection::send().

Referenced by authenticate(), closeCircuit(), closeStream(), getAddressMap(), getCircuits(), getConf(), getDescriptorListById(), getDescriptorListByName(), getInfo(), getRouterIDList(), getStreams(), protocolInfo(), resetConf(), saveConf(), send(), setConf(), setEvents(), and signal().

bool TorControl::send ( ControlCommand  cmd,
QString *  errmsg = 0 
) [private]

Send a message to Tor and discard the response

Sends a message to Tor and discards the response.

Definition at line 299 of file torcontrol.cpp.

References send().

void TorControl::closeTorProcess (  )  [private]

Disconnects signals from the TorProcess and frees its memory.

Disconnect signals from _torProcess and clean up after it.

Definition at line 177 of file torcontrol.cpp.

References _torProcess.

Referenced by onStartFailed(), and onStopped().

void TorControl::onStarted (  )  [private, slot]

Emits a signal that the Tor process started

Definition at line 129 of file torcontrol.cpp.

References started().

Referenced by start(), and TorControl().

void TorControl::onStartFailed ( QString  errmsg  )  [private, slot]

Emits a signal that the Tor process failed to start and includes an error message (hopefully) indicating why.

Definition at line 137 of file torcontrol.cpp.

References closeTorProcess(), and startFailed().

Referenced by start(), and TorControl().

void TorControl::onStopped ( int  exitCode,
QProcess::ExitStatus  exitStatus 
) [private, slot]

Emits a signal that the Tor process stopped

Definition at line 164 of file torcontrol.cpp.

References _controlConn, ControlConnection::cancelConnect(), closeTorProcess(), ControlConnection::Connecting, ControlConnection::status(), and stopped().

Referenced by start(), and TorControl().

void TorControl::onConnected (  )  [private, slot]

Emits a signal that the control socket successfully established a connection to Tor.

Definition at line 234 of file torcontrol.cpp.

References connected().

Referenced by TorControl().

void TorControl::onConnectFailed ( QString  errmsg  )  [private, slot]

Emits a signal that the control connection to Tor failed.

Definition at line 242 of file torcontrol.cpp.

References connectFailed().

Referenced by TorControl().

void TorControl::onDisconnected (  )  [private, slot]

Emits a signal that the control socket disconnected from Tor

Definition at line 257 of file torcontrol.cpp.

References _torProcess, _torVersion, disconnected(), and TorProcess::openStdout().

Referenced by TorControl().

void TorControl::onLogStdout ( QString  severity,
QString  message 
) [private, slot]

Called when Tor has printed a log message to stdout.

Definition at line 215 of file torcontrol.cpp.

References _torEvents, TorEvents::dispatch(), CustomEventType::LogEvent, LogEvent::toSeverity(), and TorEvents::toTorEvent().

Referenced by start().

void TorControl::onAuthenticated (  )  [private, slot]

Called when the controller has successfully authenticated to Tor.

Definition at line 346 of file torcontrol.cpp.

References _torProcess, _torVersion, authenticated(), TorProcess::closeStdout(), and getInfo().

Referenced by authenticate().


Member Data Documentation

ControlConnection* TorControl::_controlConn [private]

Instantiates a connection used to talk to Tor's control port

Definition at line 192 of file torcontrol.h.

Referenced by connect(), disconnect(), isConnected(), onStopped(), send(), signal(), TorControl(), and ~TorControl().

TorProcess* TorControl::_torProcess [private]

Manages and monitors the Tor process

Definition at line 194 of file torcontrol.h.

Referenced by closeTorProcess(), isRunning(), isVidaliaRunningTor(), onAuthenticated(), onDisconnected(), start(), stop(), and TorControl().

TorEvents TorControl::_torEvents [private]

Keep track of which events we're interested in

Definition at line 196 of file torcontrol.h.

Referenced by onLogStdout(), setEvent(), setEvents(), and TorControl().

QString TorControl::_torVersion [private]

The version of Tor we're currently talking to.

Definition at line 198 of file torcontrol.h.

Referenced by getTorVersion(), getTorVersionString(), onAuthenticated(), and onDisconnected().


The documentation for this class was generated from the following files:
Generated on Wed Sep 5 15:49:29 2007 for Vidalia by  doxygen 1.5.3