diff options
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 673a3920cf..e46237c365 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1698,6 +1698,19 @@ typedef struct microdesc_t { * XXX this probably should not stay a string. */ } microdesc_t; +/** DOCDOC */ +typedef struct node_t { + /** Used to look up the node_t by its identity digest. */ + HT_ENTRY(node_t) ht_ent; + /** Position of the node within the list of nodes */ + int nodelist_idx; + + char identity[DIGEST_LEN]; + microdesc_t *md; + routerinfo_t *ri; + routerstatus_t *rs; +} node_t; + /** How many times will we try to download a router's descriptor before giving * up? */ #define MAX_ROUTERDESC_DOWNLOAD_FAILURES 8 |