I was checking my little program for c++ cleanliness and noticed that
evdns.h didn't have these little patches.. Can we get this patch commited?
Index: evdns.h
===================================================================
--- evdns.h (revision 304)
+++ evdns.h (working copy)
@@ -237,6 +237,10 @@
#ifndef EVENTDNS_H
#define EVENTDNS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Error codes 0-5 are as described in RFC 1035. */
#define DNS_ERR_NONE 0
/* The name server was unable to interpret the query */
@@ -303,4 +307,7 @@
#define DNS_NO_SEARCH 1
+#ifdef __cplusplus
+}
+#endif
#endif // !EVENTDNS_H
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users