X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Funixctl.h;h=2ab9a6853c02425b3acef7cae42c86775582deff;hb=cd400f3e5950d0cdeff0f73fdc2cfb8349eac5d9;hp=0b6cbf3351d67941d40d2c64b6bc19a4a705e1fb;hpb=8ca79daaa04ca3d5edcacf84646d953569f55cb6;p=sliver-openvswitch.git diff --git a/lib/unixctl.h b/lib/unixctl.h index 0b6cbf335..2ab9a6853 100644 --- a/lib/unixctl.h +++ b/lib/unixctl.h @@ -17,6 +17,10 @@ #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 **); @@ -42,4 +46,8 @@ void unixctl_command_register(const char *name, void unixctl_command_reply(struct unixctl_conn *, int code, const char *body); +#ifdef __cplusplus +} +#endif + #endif /* unixctl.h */