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/zebra_rnh.h | |
| parent | c9146c85a0356a9c62b52f384025bfe0ff65c654 (diff) | |
add cplusplus guards to all zebra headers
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
Diffstat (limited to 'zebra/zebra_rnh.h')
| -rw-r--r-- | zebra/zebra_rnh.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/zebra/zebra_rnh.h b/zebra/zebra_rnh.h index 00ee60dc1a..0e71e8a68d 100644 --- a/zebra/zebra_rnh.h +++ b/zebra/zebra_rnh.h @@ -25,6 +25,10 @@ #include "prefix.h" #include "vty.h" +#ifdef __cplusplus +extern "C" { +#endif + /* Nexthop structure. */ struct rnh { uint8_t flags; @@ -83,4 +87,9 @@ extern void zebra_evaluate_rnh(struct zebra_vrf *zvrf, afi_t afi, int force, extern void zebra_print_rnh_table(vrf_id_t vrfid, afi_t afi, struct vty *vty, rnh_type_t); extern char *rnh_str(struct rnh *rnh, char *buf, int size); + +#ifdef __cplusplus +} +#endif + #endif /*_ZEBRA_RNH_H */ |
