diff options
Diffstat (limited to 'lib/resolver.h')
-rw-r--r-- | lib/resolver.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/resolver.h b/lib/resolver.h index 59bf0d0f5..5f922dcb5 100644 --- a/lib/resolver.h +++ b/lib/resolver.h @@ -13,6 +13,10 @@ #include "thread.h" #include "sockunion.h" +#ifdef __cplusplus +extern "C" { +#endif + struct resolver_query { void (*callback)(struct resolver_query *, const char *errstr, int n, union sockunion *); @@ -28,4 +32,8 @@ void resolver_resolve(struct resolver_query *query, int af, const char *, int, union sockunion *)); +#ifdef __cplusplus +} +#endif + #endif /* _FRR_RESOLVER_H */ |