diff options
author | Emanuele Di Pascale <emanuele@voltanet.io> | 2019-03-25 15:11:55 +0100 |
---|---|---|
committer | Emanuele Di Pascale <emanuele@voltanet.io> | 2019-03-25 16:05:27 +0100 |
commit | 51e94aa7b167b5197f634eec11dc456994787993 (patch) | |
tree | 286cdc3e00e8c21c718da3f164614a9c2c85ae2b /zebra/if_netlink.h | |
parent | Merge pull request #3772 from pguibert6WIND/vrf_backend_unknown (diff) | |
download | frr-51e94aa7b167b5197f634eec11dc456994787993.tar.xz frr-51e94aa7b167b5197f634eec11dc456994787993.zip |
add cplusplus guards to all zebra headers
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
Diffstat (limited to 'zebra/if_netlink.h')
-rw-r--r-- | zebra/if_netlink.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/if_netlink.h b/zebra/if_netlink.h index 65a266a51..710fd5255 100644 --- a/zebra/if_netlink.h +++ b/zebra/if_netlink.h @@ -23,11 +23,19 @@ #ifdef HAVE_NETLINK +#ifdef __cplusplus +extern "C" { +#endif + extern int netlink_interface_addr(struct nlmsghdr *h, ns_id_t ns_id, int startup); extern int netlink_link_change(struct nlmsghdr *h, ns_id_t ns_id, int startup); extern int interface_lookup_netlink(struct zebra_ns *zns); +#ifdef __cplusplus +} +#endif + #endif /* HAVE_NETLINK */ #endif /* _ZEBRA_IF_NETLINK_H */ |