diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-11-14 17:07:40 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-12-05 19:49:28 -0500 |
commit | a9806af2610904308642518990fc82c71d567d4a (patch) | |
tree | 910c58662042de97e52dfdca961dfa6420dfba06 /src/or/or.h | |
parent | 39a780e85a0a8cb42f817d0d948ce8fb97662bd3 (diff) | |
download | tor-a9806af2610904308642518990fc82c71d567d4a.tar.gz tor-a9806af2610904308642518990fc82c71d567d4a.zip |
Create a CacheDirectory and KeyDirectory options.
They work the same as DataDirectory, but default slightly different.
Tor is not actually updated to use them yet.
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 61e8d0b445..e10decf734 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3645,6 +3645,17 @@ typedef struct { * configured by the user. */ char *DataDirectory; /**< Where to store long-term data, as modified. */ int DataDirectoryGroupReadable; /**< Boolean: Is the DataDirectory g+r? */ + + char *KeyDirectory_option; /**< Where to store keys, as + * configured by the user. */ + char *KeyDirectory; /**< Where to store keys data, as modified. */ + int KeyDirectoryGroupReadable; /**< Boolean: Is the KeyDirectory g+r? */ + + char *CacheDirectory_option; /**< Where to store cached data, as + * configured by the user. */ + char *CacheDirectory; /**< Where to store cached data, as modified. */ + int CacheDirectoryGroupReadable; /**< Boolean: Is the CacheDirectory g+r? */ + char *Nickname; /**< OR only: nickname of this onion router. */ char *Address; /**< OR only: configured address for this onion router. */ char *PidFile; /**< Where to store PID of Tor process. */ |