lib/ovsdb-idl.c
/* Marks all requested table conditions in 'db' as acked by the server.
 * It should be called when the server replies to monitor_cond_change
 * requests.
 */
Marks all requested table conditions in 'db' as acked by the server.
It should be called when the server replies to monitor_cond_change
requests.
Marks all requested table conditions in ' db ' as acked by the server . It should be called when the server replies to monitor_cond_change requests .
static void
ovsdb_idl_db_ack_condition(struct ovsdb_idl_db *db)
{
    for (size_t i = 0; i < db->class_->n_tables; i++) {
        struct ovsdb_idl_table *table = &db->tables[i];
        if (table->req_cond) {
            ovsdb_idl_condition_move(&table->ack_cond, &table->req_cond);
        }
    }
}
static void ovsdb_idl_db_ack_condition ( struct ovsdb_idl_db * db ) { for ( size_t i = 0 ; i < db -> class_ -> n_tables ; i ++ ) { struct ovsdb_idl_table * table = & db -> tables [ i ] ; if ( table -> req_cond ) { ovsdb_idl_condition_move ( & table -> ack_cond , & table -> req_cond ) ; } } }
Marks all requested table conditions in 'db' as acked by the server.
Marks all requested table conditions in ' db ' as acked by the server .