1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
lokinet/include/llarp/net.h
sachaaaaa c7940076bf Remove most of the extern "C"
remove extern "C"
2018-07-09 14:34:09 +10:00

13 lines
238 B
C

#ifndef LLARP_NET_H
#define LLARP_NET_H
#include <arpa/inet.h>
#include <netinet/in.h>
#include <stdbool.h>
#include <sys/socket.h>
#include <sys/types.h>
bool
llarp_getifaddr(const char* ifname, int af, struct sockaddr* addr);
#endif