2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

ovsdb: Provide helper function to determine if IDL has ever connected

This commit is contained in:
Justin Pettit
2010-01-14 13:10:35 -08:00
parent 5ff22a0642
commit f3d645212a
3 changed files with 9 additions and 1 deletions

View File

@@ -291,6 +291,12 @@ ovsdb_idl_get_seqno(const struct ovsdb_idl *idl)
return idl->change_seqno;
}
bool
ovsdb_idl_has_ever_connected(const struct ovsdb_idl *idl)
{
return ovsdb_idl_get_seqno(idl) != 0;
}
void
ovsdb_idl_force_reconnect(struct ovsdb_idl *idl)
{