diff options
| author | Ben Pfaff <blp@nicira.com> | 2010-09-23 09:43:46 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2010-09-23 11:45:35 -0700 |
| commit | e4af561537cfea7d35d2075596b4474847876794 (patch) | |
| tree | 26a332fc82ad8254b506634ae7fa309757a3ff29 /lib/ovsdb-data.h | |
| parent | 4f2226487d3522654876885d769510b835c5f5ee (diff) | |
| download | openvswitch-e4af561537cfea7d35d2075596b4474847876794.tar.gz | |
ovsdb-data: New function ovsdb_datum_from_shash().
Diffstat (limited to 'lib/ovsdb-data.h')
| -rw-r--r-- | lib/ovsdb-data.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ovsdb-data.h b/lib/ovsdb-data.h index ae0faa26e..f7e98a84b 100644 --- a/lib/ovsdb-data.h +++ b/lib/ovsdb-data.h @@ -22,6 +22,7 @@ struct ds; struct ovsdb_symbol_table; +struct shash; /* One value of an atomic type (given by enum ovs_atomic_type). */ union ovsdb_atom { @@ -167,6 +168,8 @@ char *ovsdb_datum_from_string(struct ovsdb_datum *, void ovsdb_datum_to_string(const struct ovsdb_datum *, const struct ovsdb_type *, struct ds *); +void ovsdb_datum_from_shash(struct ovsdb_datum *, struct shash *); + /* Comparison. */ uint32_t ovsdb_datum_hash(const struct ovsdb_datum *, const struct ovsdb_type *, uint32_t basis); |
