jsonrpc-server: refactoring ovsdb_monitor_destroy()
authorAndy Zhou <azhou@nicira.com>
Thu, 12 Mar 2015 02:49:13 +0000 (19:49 -0700)
committerAndy Zhou <azhou@nicira.com>
Sat, 30 May 2015 00:39:50 +0000 (17:39 -0700)
commit88b633082c0de646bebf1966bd06299692e4f9ba
treece49a961e93d20d27a3398f6bd253178145f115a
parent51df26a68e709f357d4ee24eebfba1aacb758eb9
jsonrpc-server: refactoring ovsdb_monitor_destroy()

Add ovsdb_monitor_destroy() function to properly cleanup ovsdb_monitor.
It is also responsible for unhook from the replica chain.

The replica destroy callback is now called
ovsdb_monitor_destroy_callback()

Minor variable renaming in ovsdb_monitor_create() to make it
more consistent.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ovsdb/jsonrpc-server.c