diff options
author | Ben Pfaff <blp@nicira.com> | 2010-01-27 13:04:56 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-01-27 13:51:52 -0800 |
commit | 9e336f491038f440dc846c172daeea0d0a77b20c (patch) | |
tree | d1d11d1aa77bbdad94a8108436e86f060393eb9d /lib/ovsdb-idl.h | |
parent | 557e37183de13d82888291b041c93cdd8b6e91f3 (diff) |
ovsdb-idl: Export ovsdb_idl_txn_delete() and ovsdb_idl_txn_insert().
ovs-vsctl wants to use these functions directly, so make them available
through the ovsdb-idl public header instead of only through the private
one.
Also, change the prototypes to make them usable without casts.
Diffstat (limited to 'lib/ovsdb-idl.h')
-rw-r--r-- | lib/ovsdb-idl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ovsdb-idl.h b/lib/ovsdb-idl.h index 975dfc17..1e17538f 100644 --- a/lib/ovsdb-idl.h +++ b/lib/ovsdb-idl.h @@ -74,5 +74,8 @@ void ovsdb_idl_txn_read(const struct ovsdb_idl_row *, void ovsdb_idl_txn_write(const struct ovsdb_idl_row *, const struct ovsdb_idl_column *, struct ovsdb_datum *); +void ovsdb_idl_txn_delete(const struct ovsdb_idl_row *); +const struct ovsdb_idl_row *ovsdb_idl_txn_insert( + struct ovsdb_idl_txn *, const struct ovsdb_idl_table_class *); #endif /* ovsdb-idl.h */ |