mirror of https://github.com/getdnsapi/getdns.git
Add missing cpp guards for getdns_extra.h
This commit is contained in:
parent
b548cce9d8
commit
28992ff992
|
@ -31,6 +31,10 @@
|
||||||
#include <getdns/getdns.h>
|
#include <getdns/getdns.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Enable the return_dnssec_status extension on every request.
|
/* Enable the return_dnssec_status extension on every request.
|
||||||
value is either GETDNS_EXTENSION_TRUE or GETDNS_EXTENSION_FALSE
|
value is either GETDNS_EXTENSION_TRUE or GETDNS_EXTENSION_FALSE
|
||||||
returns GETDNS_RETURN_GOOD on success or GETDNS_RETURN_INVALID_PARAMETER
|
returns GETDNS_RETURN_GOOD on success or GETDNS_RETURN_INVALID_PARAMETER
|
||||||
|
@ -117,5 +121,8 @@ getdns_context_get_extension_data(struct getdns_context* context);
|
||||||
getdns_return_t
|
getdns_return_t
|
||||||
getdns_extension_detach_eventloop(struct getdns_context* context);
|
getdns_extension_detach_eventloop(struct getdns_context* context);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue