projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
INSTALL.Linux: Note the need for CONFIG_TUN and /dev/net/tun.
[openvswitch]
/
lib
/
unixctl.h
diff --git
a/lib/unixctl.h
b/lib/unixctl.h
index 0b6cbf3351d67941d40d2c64b6bc19a4a705e1fb..89199bb6f9ff43de6c89e0ffd8341b1687f889d9 100644
(file)
--- a/
lib/unixctl.h
+++ b/
lib/unixctl.h
@@
-16,6
+16,10
@@
#ifndef UNIXCTL_H
#define UNIXCTL_H 1
#ifndef UNIXCTL_H
#define UNIXCTL_H 1
+
+#ifdef __cplusplus
+extern "C" {
+#endif
/* Server for Unix domain socket control connection. */
struct unixctl_server;
/* Server for Unix domain socket control connection. */
struct unixctl_server;
@@
-41,5
+45,9
@@
void unixctl_command_register(const char *name,
unixctl_cb_func *cb, void *aux);
void unixctl_command_reply(struct unixctl_conn *, int code,
const char *body);
unixctl_cb_func *cb, void *aux);
void unixctl_command_reply(struct unixctl_conn *, int code,
const char *body);
+
+#ifdef __cplusplus
+}
+#endif
#endif /* unixctl.h */
#endif /* unixctl.h */