Commit bed8fb61 authored by Pekka Pessi's avatar Pekka Pessi

s2check: add s2_localinfo_teardown()

parent 4a843e94
......@@ -61,6 +61,11 @@ void s2_localinfo_ifaces(char const **replace_ifaces)
ifaces = replace_ifaces;
void s2_localinfo_teardown(void)
ifaces = default_ifaces;
s2_getlocalinfo(su_localinfo_t const *hints,
su_localinfo_t **return_localinfo)
......@@ -47,6 +47,7 @@ su_localinfo_t *s2_copylocalinfo(su_localinfo_t const *li0);
int s2_sockaddr_scope(su_sockaddr_t const *su, socklen_t sulen);
void s2_localinfo_ifaces(char const **ifaces);
void s2_localinfo_teardown(void);
#define S2_LOCALINFO_STUBS(static) \
static int su_getlocalinfo(su_localinfo_t const *hints, su_localinfo_t **res) \
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment