mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-03 23:15:52 +00:00
13 lines
487 B
C
13 lines
487 B
C
#include <llarp/link.h>
|
|
|
|
bool llarp_link_initialized(struct llarp_link * link)
|
|
{
|
|
return link && link->impl && link->name && link->get_our_address && link->configure && link->start_link && link->stop_link && link->iter_sessions && link->try_establish && link->acquire_session_for_addr && link->mark_session_active && link->free_impl;
|
|
}
|
|
|
|
bool llarp_link_session_initialized(struct llarp_link_session * s)
|
|
{
|
|
return s && s->impl && s->sendto && s->recv && s->timeout && s->close;
|
|
}
|
|
|