X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Fovsdb.h;h=a83412dcdf66cc93ebbb2ac422aa647127e1c8ed;hb=d785193ad9989b429ea4c6931af9da7f4edf60ec;hp=24ebd9c679aa2944c20b75cf1732c72286fa4e40;hpb=a4af00400a835eb87569ba40e21874c05e872c0f;p=openvswitch diff --git a/ovsdb/ovsdb.h b/ovsdb/ovsdb.h index 24ebd9c6..a83412dc 100644 --- a/ovsdb/ovsdb.h +++ b/ovsdb/ovsdb.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. @@ -29,12 +29,11 @@ struct uuid; /* Database schema. */ struct ovsdb_schema { char *name; - char *comment; struct shash tables; /* Contains "struct ovsdb_table_schema *"s. */ }; -struct ovsdb_schema *ovsdb_schema_create(const char *name, - const char *comment); +struct ovsdb_schema *ovsdb_schema_create(const char *name); +struct ovsdb_schema *ovsdb_schema_clone(const struct ovsdb_schema *); void ovsdb_schema_destroy(struct ovsdb_schema *); struct ovsdb_error *ovsdb_schema_from_file(const char *file_name,