X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Funixctl.h;fp=lib%2Funixctl.h;h=89199bb6f9ff43de6c89e0ffd8341b1687f889d9;hb=5f55c39b21e69025045437ffbd3bb98fe6ce2e89;hp=0b6cbf3351d67941d40d2c64b6bc19a4a705e1fb;hpb=9ff373db19ef8e1e93f60a4da26bdaefdbb76ede;p=sliver-openvswitch.git diff --git a/lib/unixctl.h b/lib/unixctl.h index 0b6cbf335..89199bb6f 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 */