diff options
author | David Lamparter <equinox@diac24.net> | 2019-05-23 12:23:02 +0200 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2019-07-03 17:15:34 +0200 |
commit | fe9e7b71cf0930db1f8d6872f415466689511885 (patch) | |
tree | 42bb1f347ea8f9fbf93874f977dc57b7135307e1 /nhrpd/nhrpd.h | |
parent | Merge pull request #4550 from manuhalo/fix_bgp_label_cb (diff) | |
download | frr-fe9e7b71cf0930db1f8d6872f415466689511885.tar.xz frr-fe9e7b71cf0930db1f8d6872f415466689511885.zip |
lib: split off c-ares code from nhrpd
This is useful in other places too, e.g. for BMP outbound connections.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'nhrpd/nhrpd.h')
-rw-r--r-- | nhrpd/nhrpd.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/nhrpd/nhrpd.h b/nhrpd/nhrpd.h index 89de145e6..670c9f4f1 100644 --- a/nhrpd/nhrpd.h +++ b/nhrpd/nhrpd.h @@ -16,6 +16,7 @@ #include "zclient.h" #include "debug.h" #include "memory.h" +#include "resolver.h" DECLARE_MGROUP(NHRPD) @@ -84,15 +85,6 @@ static inline int notifier_active(struct notifier_list *l) return !list_empty(&l->notifier_head); } -struct resolver_query { - void (*callback)(struct resolver_query *, int n, union sockunion *); -}; - -void resolver_init(void); -void resolver_resolve(struct resolver_query *query, int af, - const char *hostname, void (*cb)(struct resolver_query *, - int, union sockunion *)); - void nhrp_zebra_init(void); void nhrp_zebra_terminate(void); |