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.
lokinet/llarp/exit_info.hpp

19 lines
348 B
C++

#ifndef LLARP_XI_HPP
#define LLARP_XI_HPP
#include <list>
#include <llarp/exit_info.h>
struct llarp_xi_list {
std::list<llarp_xi> list;
};
static std::list<llarp_xi> xi_list_to_std(struct llarp_xi_list *l) {
std::list<llarp_xi> list;
if (l->list.size())
for (const auto &xi : l->list)
list.push_back(xi);
return list;
}
#endif