1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
lokinet/include/llarp/dns.h
2018-10-01 02:59:50 -07:00

30 lines
455 B
C

#ifndef LLARP_DNS_H_
#define LLARP_DNS_H_
#include <llarp/ev.h> // for sockaadr
#include <sys/types.h> // for uint & ssize_t
/* non-cygnus does not have this type */
#ifdef _WIN32
#define uint UINT
#endif
#ifdef __cplusplus
extern "C"
{
#endif
/**
* dns.h
*
* dns client/server
*/
// fwd declr
struct dnsc_answer_request;
typedef void (*dnsc_answer_hook_func)(dnsc_answer_request *request);
#ifdef __cplusplus
}
#endif
#endif