X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Ffile.h;h=b28c31811494647cafca88ca27b13bb3adc6231e;hb=fb0d597fb64308c60001e3afc9b31eb295dedb6b;hp=40701720a38f89ec1195240996c950abb7217ddc;hpb=5f55c39b21e69025045437ffbd3bb98fe6ce2e89;p=openvswitch diff --git a/ovsdb/file.h b/ovsdb/file.h index 40701720..b28c3181 100644 --- a/ovsdb/file.h +++ b/ovsdb/file.h @@ -21,10 +21,11 @@ #include "log.h" struct ovsdb; +struct ovsdb_file; struct ovsdb_schema; struct ovsdb_error *ovsdb_file_open(const char *file_name, bool read_only, - struct ovsdb **) + struct ovsdb **, struct ovsdb_file **) WARN_UNUSED_RESULT; struct ovsdb_error *ovsdb_file_open_as_schema(const char *file_name, @@ -37,4 +38,6 @@ struct ovsdb_error *ovsdb_file_save_copy(const char *file_name, int locking, const struct ovsdb *) WARN_UNUSED_RESULT; +struct ovsdb_error *ovsdb_file_compact(struct ovsdb_file *); + #endif /* ovsdb/file.h */