aboutsummaryrefslogtreecommitdiff
path: root/src/feature/nodelist/describe.c
AgeCommit message (Collapse)Author
2020-01-08It's 2020. Update the copyright dates with "make update-copyright"Nick Mathewson
2019-08-29nodelist: Use safe string functions in describe.cteor
Rewrite format_node_description() and router_get_verbose_nickname() to use strlcpy() and strlcat(). The previous implementation used memcpy() and pointer arithmetic, which was error-prone. Closes ticket 31545. This is CID 1452819.
2019-08-22nodelist: Clear buffers and detect more caller errors in describe.cteor
Part of 21003.
2019-08-19nodelist: Add support for multiple addresses in describe.cteor
Also prepare for unit tests. Part of 21003.
2019-08-19nodelist: Remove support for is_named in describe.cteor
The Named flag is deprecated. Removing support from the formatting code simplifies the unit tests. Part of 21003.
2019-08-19nodelist: Move router_get_verbose_nickname() declarationteor
The declaration was in nodelist/routerinfo.h, but the implementation was in nodelist/describe.h. Part of 21003.
2019-01-16Bump copyright date to 2019Nick Mathewson
2018-09-25Revise things that had included router.h beforeNick Mathewson
Make them only include the headers that they needed, and sort their headers while we're at it.
2018-09-25Extract nickname-checking functions from router.cNick Mathewson
2018-09-25Move the various _describe() functions out of router.cNick Mathewson
Note that I haven't separated the headers yet (there's still an