aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-09-09 08:41:58 +0000
committerRoger Dingledine <arma@torproject.org>2008-09-09 08:41:58 +0000
commitef7af1d61e242913bcbeff1490d5300d1a9977c5 (patch)
tree169a077d08fdf640ea2d8c119841d220909070a5 /src/or/or.h
parentd37fae2f4edb03095f943577f78b518f75f6ca71 (diff)
downloadtor-ef7af1d61e242913bcbeff1490d5300d1a9977c5.tar.gz
tor-ef7af1d61e242913bcbeff1490d5300d1a9977c5.zip
karsten's patch for bug 767.
svn:r16808
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 34fce56e46..0d0757bc65 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3898,6 +3898,13 @@ typedef struct rend_service_descriptor_t {
/** List of the service's introduction points. Elements are removed if
* introduction attempts fail. */
smartlist_t *intro_nodes;
+ /** Has descriptor been uploaded to all hidden service directories? */
+ int all_uploads_performed;
+ /** List of hidden service directories to which an upload request for
+ * this descriptor could be sent. Smartlist exists only when at least one
+ * of the previous upload requests failed (otherwise it's not important
+ * to know which uploads succeeded and which not). */
+ smartlist_t *successful_uploads;
} rend_service_descriptor_t;
int rend_cmp_service_ids(const char *one, const char *two);
@@ -3961,6 +3968,8 @@ int rend_service_load_keys(void);
void rend_services_init(void);
void rend_services_introduce(void);
void rend_consider_services_upload(time_t now);
+void rend_hsdir_routers_changed(void);
+void rend_consider_descriptor_republication(void);
void rend_service_intro_has_opened(origin_circuit_t *circuit);
int rend_service_intro_established(origin_circuit_t *circuit,