summaryrefslogtreecommitdiff
path: root/ovsdb/monitor.h
diff options
context:
space:
mode:
authorAndy Zhou <azhou@nicira.com>2015-03-17 21:25:20 -0700
committerAndy Zhou <azhou@nicira.com>2015-05-29 17:39:50 -0700
commit61b63013e6074478d264d20c2db0edf17e57a0ff (patch)
treed1cc7b043421a0cd5f4b3a897872646000e0fc61 /ovsdb/monitor.h
parent2fa1df7b88611f8858882147b5db122c5644799c (diff)
downloadopenvswitch-61b63013e6074478d264d20c2db0edf17e57a0ff.tar.gz
ovsdb-monitor: refactoring ovsdb_monitor_get_initial
Refactoring ovsdb_monitor_get_initial() to not generate JSON object. It only collect changes within the ovsdb_monitor(). ovsdb_jsonrpc_monitor_compose_table_update() is then used to generate JSON object. This change will also make future patch easier. Signed-off-by: Andy Zhou <azhou@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ovsdb/monitor.h')
-rw-r--r--ovsdb/monitor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ovsdb/monitor.h b/ovsdb/monitor.h
index 82c9a578b..aefe1d5d7 100644
--- a/ovsdb/monitor.h
+++ b/ovsdb/monitor.h
@@ -52,7 +52,7 @@ void ovsdb_monitor_table_add_select(struct ovsdb_monitor *dbmon,
bool ovsdb_monitor_needs_flush(struct ovsdb_monitor *dbmon);
-struct json *ovsdb_monitor_get_initial(const struct ovsdb_monitor *dbmon);
+void ovsdb_monitor_get_initial(const struct ovsdb_monitor *dbmon);
void ovsdb_monitor_destroy(struct ovsdb_monitor *dbmon);
#endif