X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Ffile.h;h=b28c31811494647cafca88ca27b13bb3adc6231e;hb=92dbd5c9e3134eabc6e57b397dd18493bc96c9b8;hp=40701720a38f89ec1195240996c950abb7217ddc;hpb=02dd3123a0e312f1d33403e744af52dd6096f12d;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 */