nx-match: Implement support for arbitrary VLAN TCI masks.
[openvswitch] / ovsdb / file.h
index 40701720a38f89ec1195240996c950abb7217ddc..b28c31811494647cafca88ca27b13bb3adc6231e 100644 (file)
 #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 */