Implement more control spec functionality
commitbbaa3c7792792d9899ed36d9b0db4703c617a7a3
authorNick Mathewson <nickm@torproject.org>
Fri, 25 Feb 2005 20:46:13 +0000 (25 20:46 +0000)
committerNick Mathewson <nickm@torproject.org>
Fri, 25 Feb 2005 20:46:13 +0000 (25 20:46 +0000)
treef0d37ff02bafecbad300710532f6e847cb3d8756
parentd21f007a8465b7c04d4ea8084501a588af4874a6
Implement more control spec functionality
- Mapaddress
- Postdescriptor
- GetInfo on descriptors

Required changes elsewhere:
- Keep the most recent running_routers_t in the routerlist_t. That way we
  can learn about new routers and remember whether we were last told that
  they were up or down.  Also enables more simplifications.
- Keep the signed descriptor inside routerinfo_t.  This makes
  descriptor_entry_t in dirservers.c unneeded.
- Rename AddressMap (the verb) to MapAddress. Keep AddressMap as a noun.
- Check addresses for plausibility before mapping them.

svn:r3696
src/common/compat.h
src/common/util.c
src/common/util.h
src/or/config.c
src/or/control.c
src/or/directory.c
src/or/dirserv.c
src/or/or.h
src/or/router.c
src/or/routerlist.c
src/or/routerparse.c