diff options
author | Keith Burns (alagalah) <alagalah@gmail.com> | 2018-02-02 08:21:56 -0800 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2018-02-02 22:08:06 +0000 |
commit | 5a2946c6174f91032792b8e4978c8d235f2281f0 (patch) | |
tree | 5b14a85c309710fe62cbbb43613a51b019f7eb25 /src/vcl/vppcom.h | |
parent | c1c0976fa28d90591d7cfbb6544ad871671c6c90 (diff) |
Clean up for vcl.am, making vppcom.h C++ aware
Change-Id: I2548ebd37e16bed50b5c8046b728415a341413e3
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
Diffstat (limited to 'src/vcl/vppcom.h')
-rw-r--r-- | src/vcl/vppcom.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/vcl/vppcom.h b/src/vcl/vppcom.h index 208b3717d03..c79b90c7992 100644 --- a/src/vcl/vppcom.h +++ b/src/vcl/vppcom.h @@ -21,6 +21,13 @@ #include <sys/poll.h> #include <sys/epoll.h> +/* *INDENT-OFF* */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* *INDENT-ON* */ + /* * VPPCOM Public API Definitions, Enums, and Data Structures */ @@ -244,6 +251,12 @@ extern int vppcom_session_sendto (uint32_t session_index, void *buffer, extern int vppcom_poll (vcl_poll_t * vp, uint32_t n_sids, double wait_for_time); +/* *INDENT-OFF* */ +#ifdef __cplusplus +} +#endif +/* *INDENT-ON* */ + #endif /* included_vppcom_h */ /* |