2018-07-16 14:48:38 +02:00
|
|
|
#ifndef LLARP_DNS_H_
|
|
|
|
#define LLARP_DNS_H_
|
|
|
|
|
2018-07-17 01:26:58 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
2018-07-21 15:19:06 +02:00
|
|
|
{
|
2018-07-17 01:26:58 +02:00
|
|
|
#endif
|
|
|
|
/**
|
|
|
|
* dns.h
|
|
|
|
*
|
|
|
|
* dns client/server
|
|
|
|
*/
|
2018-07-16 14:48:38 +02:00
|
|
|
|
2018-07-24 03:43:32 +02:00
|
|
|
// fwd declr
|
|
|
|
struct dnsc_answer_request;
|
2018-07-16 14:48:38 +02:00
|
|
|
|
2018-07-24 03:43:32 +02:00
|
|
|
typedef void (*dnsc_answer_hook_func)(dnsc_answer_request *request);
|
2018-07-16 14:48:38 +02:00
|
|
|
|
2018-07-17 01:26:58 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2018-07-16 14:48:38 +02:00
|
|
|
#endif
|