23 #ifndef GNC_HTML_HISTORY_H 24 #define GNC_HTML_HISTORY_H 42 typedef void (* gnc_html_history_destroy_cb)(gnc_html_history_node * n,
45 gnc_html_history * gnc_html_history_new(
void);
46 void gnc_html_history_destroy(gnc_html_history * hist);
48 void gnc_html_history_append(gnc_html_history * h,
49 gnc_html_history_node * n);
50 gnc_html_history_node * gnc_html_history_get_current(gnc_html_history * h);
51 gnc_html_history_node * gnc_html_history_forward(gnc_html_history * h);
52 gnc_html_history_node * gnc_html_history_back(gnc_html_history * h);
53 int gnc_html_history_forward_p(gnc_html_history * h);
54 int gnc_html_history_back_p(gnc_html_history * h);
55 void gnc_html_history_set_node_destroy_cb(gnc_html_history * h,
56 gnc_html_history_destroy_cb cb,
59 gnc_html_history_node * gnc_html_history_node_new(URLType type,
60 const gchar * location,
63 void gnc_html_history_node_destroy(gnc_html_history_node *