Procházet zdrojové kódy

note that routerstatus_t.entries is sorted.

svn:r5044
Nick Mathewson před 20 roky
rodič
revize
6aa8850d90
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      src/or/or.h

+ 2 - 1
src/or/or.h

@@ -835,7 +835,8 @@ typedef struct networkstatus_t {
 
   int binds_names:1; /**< True iff this directory server binds names. */
 
-  smartlist_t *entries; /**< List of router_status_t*. */
+  smartlist_t *entries; /**< List of router_status_t*.   This list is kept
+                         * sorted by identity_digest. */
 } networkstatus_t;
 
 /** Contents of a directory of onion routers. */