lokinet/include/llarp/net.h
sachaaaaa c7940076bf Remove most of the extern "C"
remove extern "C"
2018-07-09 14:34:09 +10:00

14 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