[ovs-dev] [PATCH 1/3] ovsdb: add ovsdb_monitor_row_update_type()

Ben Pfaff blp at nicira.com
Mon Jun 22 16:35:11 UTC 2015


On Wed, Jun 10, 2015 at 06:37:57PM -0700, Andy Zhou wrote:
> The logic of determining row update type will be useful in the following
> patch. Make it into a function.
> 
> Signed-off-by: Andy Zhou <azhou at nicira.com>

You can change the types here from 'const void *' to just 'bool', if you
think that it's clearer:

> +static enum ovsdb_monitor_selection
> +ovsdb_monitor_row_update_type(bool initial, const void *old, const void *new)

Acked-by: Ben Pfaff <blp at nicira.com>



More information about the dev mailing list