X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=ovsdb%2Ffile.h;h=b28c31811494647cafca88ca27b13bb3adc6231e;hb=998bb652ecb494af8aa38ed0ae4e653cd8dff709;hp=40701720a38f89ec1195240996c950abb7217ddc;hpb=1e19e50e8d3a1822bc82e81409748f173079ccff;p=sliver-openvswitch.git diff --git a/ovsdb/file.h b/ovsdb/file.h index 40701720a..b28c31811 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 */