const routerinfo_t *me = router_get_my_routerinfo_with_err(&err);
if (!me) {
- *errmsg = routerinfo_errno_to_string(err);
+ *errmsg = routerinfo_err_to_string(err);
return routerinfo_err_is_transient(err) ? -1 : 0;
}
const routerinfo_t *me = router_get_my_routerinfo_with_err(&err);
if (!me) {
- *errmsg = routerinfo_errno_to_string(err);
+ *errmsg = routerinfo_err_to_string(err);
return routerinfo_err_is_transient(err) ? -1 : 0;
}
* of <b>err</b>.
*/
const char *
-routerinfo_errno_to_string(int err)
+routerinfo_err_to_string(int err)
{
switch (err) {
case TOR_ROUTERINFO_ERROR_NO_EXT_ADDR:
const char *routerstatus_describe(const routerstatus_t *ri);
const char *extend_info_describe(const extend_info_t *ei);
-const char *routerinfo_errno_to_string(int err);
+const char *routerinfo_err_to_string(int err);
int routerinfo_err_is_transient(int err);
void router_get_verbose_nickname(char *buf, const routerinfo_t *router);