They will be used in another file in a later commit.
return buf;
}
-static void log_address_debug(const Address *address, const char *str, const Link *link) {
+void log_address_debug(const Address *address, const char *str, const Link *link) {
_cleanup_free_ char *state = NULL, *flags_str = NULL, *scope_str = NULL;
assert(address);
NFTSetContext nft_set_context;
};
+void log_address_debug(const Address *address, const char *str, const Link *link);
+
const char* format_lifetime(char *buf, size_t l, usec_t lifetime_usec) _warn_unused_result_;
/* Note: the lifetime of the compound literal is the immediately surrounding block,
* see C11 ยง6.5.2.5, and
return 0;
}
-static void log_route_debug(const Route *route, const char *str, Manager *manager) {
+void log_route_debug(const Route *route, const char *str, Manager *manager) {
_cleanup_free_ char *state = NULL, *nexthop = NULL, *prefsrc = NULL,
*table = NULL, *scope = NULL, *proto = NULL, *flags = NULL;
const char *dst, *src;
int gateway_onlink;
};
+void log_route_debug(const Route *route, const char *str, Manager *manager);
+
extern const struct hash_ops route_hash_ops;
extern const struct hash_ops route_hash_ops_unref;