Add missing cpp guards for getdns_extra.h

This commit is contained in:
Neel Goyal 2014-03-03 16:08:41 -05:00
parent b548cce9d8
commit 28992ff992
1 changed files with 7 additions and 0 deletions

View File

@ -31,6 +31,10 @@
#include <getdns/getdns.h>
#include <sys/time.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Enable the return_dnssec_status extension on every request.
value is either GETDNS_EXTENSION_TRUE or GETDNS_EXTENSION_FALSE
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_extension_detach_eventloop(struct getdns_context* context);
#ifdef __cplusplus
}
#endif
#endif