aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-09-26 18:27:35 +0000
committerNick Mathewson <nickm@torproject.org>2003-09-26 18:27:35 +0000
commit92acbe12bc9512100b9282d7e9d61fe86b5a60bb (patch)
tree80cd3c92c91f30818c60a97842a1f106a8cb27ac /src/or/or.h
parent9e5cafc395397426030e8098d64b8e25625863c5 (diff)
downloadtor-92acbe12bc9512100b9282d7e9d61fe86b5a60bb.tar
tor-92acbe12bc9512100b9282d7e9d61fe86b5a60bb.tar.gz
Refactor common file code into util.c; add published to descriptors
svn:r487
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index ce617ccda..474ffa230 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -101,6 +101,7 @@
#define MAX_BUF_SIZE (640*1024)
#define DEFAULT_BANDWIDTH_OP (1024 * 1000)
+#define MAX_NICKNAME_LEN 32
#define ACI_TYPE_LOWER 0
#define ACI_TYPE_HIGHER 1
@@ -326,6 +327,8 @@ typedef struct {
uint16_t or_port;
uint16_t ap_port;
uint16_t dir_port;
+
+ time_t published_on;
crypto_pk_env_t *onion_pkey; /* public RSA key for onions */
crypto_pk_env_t *link_pkey; /* public RSA key for TLS */