[ovs-dev] [PATCH] lib: Adapt jsonrpc header file for use in C++.
pkusunyifeng at gmail.com
Thu Oct 4 02:01:09 UTC 2018
We need a proper method for external code to send queries to db.sock.
The jsonrpc.h does expose more than what is needed.
Do you have any better suggestion?
On Wed, Oct 3, 2018 at 6:26 PM Ben Pfaff <blp at ovn.org> wrote:
> On Wed, Oct 03, 2018 at 04:07:22PM -0700, Yifeng Sun wrote:
> > This patch exposes jsonrpc.h for inclusion in C++, which will be
> > used by NSX.
> > It added [extern "C"] to the header file and fixed other places
> > to accommodate this change.
> > Signed-off-by: Yifeng Sun <pkusunyifeng at gmail.com>
> Is this useful by itself? The header file refers to struct stream,
> struct pstream, struct reconnect_stats, and struct svec, but these
> aren't in public headers.
More information about the dev