X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Ftable.h;h=67784e93c917e45669dcce86167bb8e5dc52bc27;hb=475afa1b2c0ced20b47ef8cba25ad5d59c560a08;hp=9e36c911d74c52c84584a300e2311ac8a40e73e0;hpb=58fda1dab104041fc693032475ec4662c1a52849;p=openvswitch diff --git a/ovsdb/table.h b/ovsdb/table.h index 9e36c911..67784e93 100644 --- a/ovsdb/table.h +++ b/ovsdb/table.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2009 Nicira Networks +/* Copyright (c) 2009, 2010 Nicira Networks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,6 +35,8 @@ struct ovsdb_table_schema { struct ovsdb_table_schema *ovsdb_table_schema_create(const char *name, const char *comment, bool mutable); +struct ovsdb_table_schema *ovsdb_table_schema_clone( + const struct ovsdb_table_schema *); void ovsdb_table_schema_destroy(struct ovsdb_table_schema *); struct ovsdb_error *ovsdb_table_schema_from_json(const struct json *, @@ -50,6 +52,7 @@ const struct ovsdb_column *ovsdb_table_schema_get_column( struct ovsdb_table { struct ovsdb_table_schema *schema; + struct ovsdb_txn_table *txn_table; /* Only if table is in a transaction. */ struct hmap rows; /* Contains "struct ovsdb_row"s. */ };