- Fix handling of corner case reply from lame server, follows rfc2308.
It could lead to a nodata reply getting into the cache if the search
for a non-lame server turned up other misconfigured servers.
+ - unbound.h has extern "C" statement for easier include in c++.
23 June 2010: Wouter
- iana portlist updated.
#ifndef _UB_UNBOUND_H
#define _UB_UNBOUND_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* The validation context is created to hold the resolver status,
* validation keys and a small cache (containing messages, rrsets,
*/
int ub_ctx_data_remove(struct ub_ctx* ctx, char *data);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _UB_UNBOUND_H */