#ifndef UNIXCTL_H
#define UNIXCTL_H 1
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Server for Unix domain socket control connection. */
struct unixctl_server;
int unixctl_server_create(const char *path, struct unixctl_server **);
void unixctl_command_reply(struct unixctl_conn *, int code,
const char *body);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* unixctl.h */