aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-node-db.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-09-18 06:04:47 +0800
committerChristian Persch <chpe@src.gnome.org>2003-09-18 06:04:47 +0800
commit6d93635b94a93ff3188e88a46393083fbca7e603 (patch)
treeec38e729d6ce9251ad0ce2f737168e483ff979d9 /lib/ephy-node-db.h
parentff09416c7a185b6774c5f1e04c9673c9f0d86f71 (diff)
downloadgsoc2013-epiphany-6d93635b94a93ff3188e88a46393083fbca7e603.tar.gz
gsoc2013-epiphany-6d93635b94a93ff3188e88a46393083fbca7e603.tar.zst
gsoc2013-epiphany-6d93635b94a93ff3188e88a46393083fbca7e603.zip
Refactor node db loading functions into a common one in ephy-node-db.
2003-09-18 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_init): * embed/ephy-history.c: (ephy_history_init): * lib/ephy-node-db.c: (ephy_node_db_load_from_file): * lib/ephy-node-db.h: * lib/ephy-state.c: (ensure_states): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): Refactor node db loading functions into a common one in ephy-node-db. Switch to using xmlReader api.
Diffstat (limited to 'lib/ephy-node-db.h')
-rw-r--r--lib/ephy-node-db.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ephy-node-db.h b/lib/ephy-node-db.h
index 2b1f8fd7d..f5ca81107 100644
--- a/lib/ephy-node-db.h
+++ b/lib/ephy-node-db.h
@@ -56,6 +56,11 @@ EphyNodeDb *ephy_node_db_get_by_name (const char *name);
EphyNodeDb *ephy_node_db_new (const char *name);
+gboolean ephy_node_db_load_from_file (EphyNodeDb *db,
+ const char *xml_file,
+ const xmlChar *xml_root,
+ const xmlChar *xml_version);
+
const char *ephy_node_db_get_name (EphyNodeDb *db);
EphyNode *ephy_node_db_get_node_from_id (EphyNodeDb *db,