diff options
Diffstat (limited to 'include/libnftnl/udata.h')
-rw-r--r-- | include/libnftnl/udata.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libnftnl/udata.h b/include/libnftnl/udata.h index e6f80f9..7dfc0ca 100644 --- a/include/libnftnl/udata.h +++ b/include/libnftnl/udata.h @@ -5,6 +5,10 @@ #include <stdint.h> #include <stdbool.h> +#ifdef __cplusplus +extern "C" { +#endif + /* * nftnl user data attributes API */ @@ -52,4 +56,8 @@ typedef int (*nftnl_udata_cb_t)(const struct nftnl_udata *attr, void *data); int nftnl_udata_parse(const void *data, uint32_t data_len, nftnl_udata_cb_t cb, void *cb_data); +#ifdef __cplusplus +} /* extern "C" */ +#endif + #endif /* _LIBNFTNL_UDATA_H_ */ |