Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Clean up for vcl.am, making vppcom.h C++ aware
[vpp.git]
/
src
/
vcl
/
vppcom.h
diff --git
a/src/vcl/vppcom.h
b/src/vcl/vppcom.h
index
208b371
..
c79b90c
100644
(file)
--- a/
src/vcl/vppcom.h
+++ b/
src/vcl/vppcom.h
@@
-21,6
+21,13
@@
#include <sys/poll.h>
#include <sys/epoll.h>
#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
*/
/*
* 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);
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 */
/*
#endif /* included_vppcom_h */
/*