diff options
author | Niels Provos <provos@gmail.com> | 2007-01-27 04:06:52 +0000 |
---|---|---|
committer | Niels Provos <provos@gmail.com> | 2007-01-27 04:06:52 +0000 |
commit | 4922f342fcbad0f56c6de5f40a00b029d6757823 (patch) | |
tree | 5cdc2e2810e186359b36184587848002428115c8 /evdns.h | |
parent | b04043ae51589899021d306af299dbad6668a621 (diff) | |
download | libevent-4922f342fcbad0f56c6de5f40a00b029d6757823.tar.gz |
extern "C" guard for header file.
assert activeq in event.c;
from Phil Oelson.
svn:r313
Diffstat (limited to 'evdns.h')
-rw-r--r-- | evdns.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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,8 @@ void evdns_set_log_fn(evdns_debug_log_fn_type fn); #define DNS_NO_SEARCH 1 +#ifdef __cplusplus +} +#endif + #endif // !EVENTDNS_H |