X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Funixctl.h;h=2ab9a6853c02425b3acef7cae42c86775582deff;hb=0ab14c8e284b7c5c68aff1ccc6795a1d4b58bd49;hp=0b6cbf3351d67941d40d2c64b6bc19a4a705e1fb;hpb=8ca79daaa04ca3d5edcacf84646d953569f55cb6;p=openvswitch diff --git a/lib/unixctl.h b/lib/unixctl.h index 0b6cbf33..2ab9a685 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 */