X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Fcolumn.h;h=b6f324c0f5398ef6adfe2c6e6fcd3151e4862c7d;hb=c393047875e2c9dc76b2f19092fff6bbf69ec4f9;hp=594215108bdcc0921e5f644a3ac79d65621266b4;hpb=f85f8ebbfac946c19b3c6eb0f4170f579d0a4d25;p=openvswitch diff --git a/ovsdb/column.h b/ovsdb/column.h index 59421510..b6f324c0 100644 --- a/ovsdb/column.h +++ b/ovsdb/column.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. @@ -27,7 +27,6 @@ struct ovsdb_column { unsigned int index; char *name; - char *comment; bool mutable; bool persistent; struct ovsdb_type type; @@ -45,8 +44,9 @@ enum { }; struct ovsdb_column *ovsdb_column_create( - const char *name, const char *comment, bool mutable, bool persistent, + const char *name, bool mutable, bool persistent, const struct ovsdb_type *); +struct ovsdb_column *ovsdb_column_clone(const struct ovsdb_column *); void ovsdb_column_destroy(struct ovsdb_column *); struct ovsdb_error *ovsdb_column_from_json(const struct json *, @@ -71,6 +71,7 @@ void ovsdb_column_set_clone(struct ovsdb_column_set *, struct ovsdb_error *ovsdb_column_set_from_json(const struct json *, const struct ovsdb_table *, struct ovsdb_column_set *); +struct json *ovsdb_column_set_to_json(const struct ovsdb_column_set *); void ovsdb_column_set_add(struct ovsdb_column_set *, const struct ovsdb_column *);