Catalli's threaded switch
[sliver-openvswitch.git] / ovsdb / file.h
index 4070172..b28c318 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 */