mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
23 lines
393 B
C
23 lines
393 B
C
#ifndef LLARP_XI_H
|
|
#define LLARP_XI_H
|
|
#include <llarp/buffer.h>
|
|
#include <llarp/net.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct llarp_xi {
|
|
struct in6_addr address;
|
|
struct in6_addr netmask;
|
|
};
|
|
|
|
bool llarp_xi_bdecode(struct llarp_xi *xi, llarp_buffer_t *buf);
|
|
bool llarp_xi_bencode(struct llarp_xi *xi, llarp_buffer_t *buf);
|
|
|
|
struct llarp_xi_list;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|