mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
437 B
C++
22 lines
437 B
C++
#pragma once
|
|
|
|
#include "llarp/address_info.hpp"
|
|
|
|
struct llarp_link;
|
|
struct llarp_link_session;
|
|
|
|
struct llarp_link_establish_job
|
|
{
|
|
void *user;
|
|
void (*result)(struct llarp_link_establish_job *);
|
|
llarp::AddressInfo ai;
|
|
uint64_t timeout;
|
|
uint16_t retries;
|
|
|
|
llarp::PubKey pubkey;
|
|
/** set on success by try_establish */
|
|
struct llarp_link *link;
|
|
/** set on success by try_establish */
|
|
struct llarp_link_session *session;
|
|
};
|