aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-node-db.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-node-db.h')
-rw-r--r--lib/ephy-node-db.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/ephy-node-db.h b/lib/ephy-node-db.h
index 2b1f8fd7d..d801c4743 100644
--- a/lib/ephy-node-db.h
+++ b/lib/ephy-node-db.h
@@ -54,13 +54,23 @@ GType ephy_node_db_get_type (void);
EphyNodeDb *ephy_node_db_get_by_name (const char *name);
-EphyNodeDb *ephy_node_db_new (const char *name);
+EphyNodeDb *ephy_node_db_new (const char *name,
+ const char *version);
const char *ephy_node_db_get_name (EphyNodeDb *db);
EphyNode *ephy_node_db_get_node_from_id (EphyNodeDb *db,
long id);
+EphyNode *ephy_node_db_get_root_from_id (EphyNodeDb *db,
+ long id);
+
+gboolean ephy_node_db_load_from_xml (EphyNodeDb *db,
+ const char *xml_file);
+
+gboolean ephy_node_db_save_to_xml (EphyNodeDb *db,
+ const char *xml_file);
+
long _ephy_node_db_new_id (EphyNodeDb *db);
void _ephy_node_db_add_id (EphyNodeDb *db,