X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Funixctl.h;h=89199bb6f9ff43de6c89e0ffd8341b1687f889d9;hb=26ad129e69fc7c800630dbd541dc2dcc8150c3a4;hp=0b6cbf3351d67941d40d2c64b6bc19a4a705e1fb;hpb=a4af00400a835eb87569ba40e21874c05e872c0f;p=openvswitch diff --git a/lib/unixctl.h b/lib/unixctl.h index 0b6cbf33..89199bb6 100644 --- a/lib/unixctl.h +++ b/lib/unixctl.h @@ -16,6 +16,10 @@ #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 */