json: Move from lib to include/openvswitch.
authorTerry Wilson <twilson@redhat.com>
Tue, 12 Jul 2016 21:37:34 +0000 (16:37 -0500)
committerBen Pfaff <blp@ovn.org>
Sat, 23 Jul 2016 00:09:17 +0000 (17:09 -0700)
commitee89ea7b477bb4fd05137de03b2e8443807ed9f4
treec67229de600aa075cc7326419b50e76a8eecb032
parentab39371d68842b7e4000cc5d8718e6fc04e92795
json: Move from lib to include/openvswitch.

To easily allow both in- and out-of-tree building of the Python
wrapper for the OVS JSON parser (e.g. w/ pip), move json.h to
include/openvswitch. This also requires moving lib/{hmap,shash}.h.

Both hmap.h and shash.h were #include-ing "util.h" even though the
headers themselves did not use anything from there, but rather from
include/openvswitch/util.h. Fixing that required including util.h
in several C files mostly due to OVS_NOT_REACHED and things like
xmalloc.

Signed-off-by: Terry Wilson <twilson@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
144 files changed:
include/openvswitch/automake.mk
include/openvswitch/hmap.h [new file with mode: 0644]
include/openvswitch/json.h [new file with mode: 0644]
include/openvswitch/shash.h [new file with mode: 0644]
lib/automake.mk
lib/bfd.c
lib/bundle.c
lib/cfm.c
lib/cfm.h
lib/db-ctl-base.c
lib/db-ctl-base.h
lib/dpctl.c
lib/dpif-netdev.c
lib/dpif-netlink.c
lib/dpif.c
lib/fat-rwlock.c
lib/fatal-signal.c
lib/flow.c
lib/hmap.c
lib/hmap.h [deleted file]
lib/hmapx.h
lib/id-pool.c
lib/json.c
lib/json.h [deleted file]
lib/jsonrpc.c
lib/lacp.c
lib/learning-switch.c
lib/lockfile.c
lib/mac-learning.h
lib/mcast-snooping.h
lib/meta-flow.c
lib/multipath.c
lib/netdev-bsd.c
lib/netdev-dpdk.c
lib/netdev-dummy.c
lib/netdev-linux.c
lib/netdev-provider.h
lib/netdev-windows.c
lib/netdev.c
lib/netlink-conntrack.h
lib/netlink-socket.c
lib/netlink.c
lib/nx-match.c
lib/odp-util.h
lib/ofp-actions.c
lib/ofp-msgs.c
lib/ofp-parse.c
lib/ofp-util.c
lib/ovs-lldp.h
lib/ovs-numa.c
lib/ovs-rcu.c
lib/ovsdb-data.c
lib/ovsdb-data.h
lib/ovsdb-error.c
lib/ovsdb-idl-provider.h
lib/ovsdb-idl.c
lib/ovsdb-map-op.c
lib/ovsdb-parser.h
lib/ovsdb-types.c
lib/packets.c
lib/pcap-file.c
lib/perf-counter.c
lib/poll-loop.c
lib/reconnect.c
lib/rstp-common.h
lib/seq.c
lib/shash.c
lib/shash.h [deleted file]
lib/simap.h
lib/smap.c
lib/smap.h
lib/sset.h
lib/stream-ssl.c
lib/table.c
lib/timeval.c
lib/tun-metadata.c
lib/unixctl.c
lib/util.h
ofproto/bond.c
ofproto/bundles.c
ofproto/connmgr.c
ofproto/connmgr.h
ofproto/ofproto-dpif-ipfix.c
ofproto/ofproto-dpif-mirror.c
ofproto/ofproto-dpif-monitor.c
ofproto/ofproto-dpif-sflow.c
ofproto/ofproto-dpif-xlate.c
ofproto/ofproto-dpif.c
ofproto/ofproto-provider.h
ofproto/ofproto.c
ofproto/pinsched.c
ofproto/tunnel.c
ovn/controller-vtep/binding.c
ovn/controller-vtep/vtep.c
ovn/controller/binding.c
ovn/controller/chassis.c
ovn/controller/lport.h
ovn/controller/ofctrl.c
ovn/controller/ovn-controller.c
ovn/controller/patch.c
ovn/controller/physical.c
ovn/lib/actions.c
ovn/lib/actions.h
ovn/lib/expr.c
ovn/lib/expr.h
ovn/lib/lex.c
ovn/lib/ovn-dhcp.h
ovn/northd/ovn-northd.c
ovn/utilities/ovn-nbctl.c
ovn/utilities/ovn-sbctl.c
ovsdb/column.c
ovsdb/condition.c
ovsdb/execution.c
ovsdb/file.c
ovsdb/jsonrpc-server.c
ovsdb/log.c
ovsdb/monitor.c
ovsdb/mutation.c
ovsdb/ovsdb-client.c
ovsdb/ovsdb-server.c
ovsdb/ovsdb-tool.c
ovsdb/ovsdb.c
ovsdb/ovsdb.h
ovsdb/replication.c
ovsdb/replication.h
ovsdb/row.c
ovsdb/row.h
ovsdb/server.h
ovsdb/table.c
ovsdb/table.h
ovsdb/transaction.c
ovsdb/trigger.c
python/ovs/_json.c
tests/test-ccmap.c
tests/test-cmap.c
tests/test-hmap.c
tests/test-json.c
tests/test-jsonrpc.c
tests/test-ovn.c
tests/test-ovsdb.c
utilities/ovs-vsctl.c
vswitchd/bridge.c
vswitchd/system-stats.c
vtep/vtep-ctl.c