aboutsummaryrefslogtreecommitdiffstats
path: root/torouterui/tor.py
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-09-15 22:50:14 +0200
committerficus <ficus@robocracy.org>2012-09-15 22:50:14 +0200
commitced83335a5a338cb9c24956b96da526465d94df8 (patch)
treeb345cd21dfcbb9e660aceb2433c92bd50848938f /torouterui/tor.py
parent57a1e70dee45f5cd9493d6d23f8fc7b6435d5388 (diff)
downloadtui-ced83335a5a338cb9c24956b96da526465d94df8.tar.gz
tui-ced83335a5a338cb9c24956b96da526465d94df8.zip
refactor to distributable format
Diffstat (limited to 'torouterui/tor.py')
-rw-r--r--torouterui/tor.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/torouterui/tor.py b/torouterui/tor.py
new file mode 100644
index 0000000..ef585c5
--- /dev/null
+++ b/torouterui/tor.py
@@ -0,0 +1,18 @@
+"""
+Helper code for interacting with Tor and modifying the Tor system
+configuration.
+"""
+
+
+def get_tor_status():
+ d = dict()
+ d['state'] = 'DISABLED'
+ return d
+
+
+def get_tor_settings():
+ return dict()
+
+
+def save_tor_settings():
+ pass