Merge "next" branch into "master".
[sliver-openvswitch.git] / lib / unixctl.h
index 0b6cbf3..89199bb 100644 (file)
 
 #ifndef UNIXCTL_H
 #define UNIXCTL_H 1
+#ifdef  __cplusplus
+extern "C" {
+#endif
 
 /* 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);
+#ifdef  __cplusplus
+}
+#endif
 
 #endif /* unixctl.h */