diff options
author | Ben Pfaff <blp@nicira.com> | 2010-06-09 15:18:17 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-06-23 12:43:02 -0700 |
commit | 4ea21243f5a6002528d33d2bd58ce41a9d03a4c4 (patch) | |
tree | e4edf7a5a300c36560fa02c3636e79675de22282 /lib/ovsdb-idl.h | |
parent | 81857c785ea94f93fbf385f7db86f22103cfa29b (diff) |
ovsdb-idl: Simplify usage of ovsdb_idl_run().
It makes client code simpler if ovsdb_idl_run() simply lets the caller
know whether anything changed.
Diffstat (limited to 'lib/ovsdb-idl.h')
-rw-r--r-- | lib/ovsdb-idl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ovsdb-idl.h b/lib/ovsdb-idl.h index 31fae984..88bd7b3a 100644 --- a/lib/ovsdb-idl.h +++ b/lib/ovsdb-idl.h @@ -31,7 +31,7 @@ struct ovsdb_idl *ovsdb_idl_create(const char *remote, const struct ovsdb_idl_class *); void ovsdb_idl_destroy(struct ovsdb_idl *); -void ovsdb_idl_run(struct ovsdb_idl *); +bool ovsdb_idl_run(struct ovsdb_idl *); void ovsdb_idl_wait(struct ovsdb_idl *); unsigned int ovsdb_idl_get_seqno(const struct ovsdb_idl *); |