23#ifndef GNC_HTML_HISTORY_H
24#define GNC_HTML_HISTORY_H
31typedef void (* gnc_html_history_destroy_cb)(gnc_html_history_node * n,
46gnc_html_history * gnc_html_history_new(
void) NOEXCEPT;
47void gnc_html_history_destroy(gnc_html_history * hist) NOEXCEPT;
49void gnc_html_history_append(gnc_html_history * h,
50 gnc_html_history_node * n) NOEXCEPT;
51gnc_html_history_node * gnc_html_history_get_current(gnc_html_history * h) NOEXCEPT;
52gnc_html_history_node * gnc_html_history_forward(gnc_html_history * h) NOEXCEPT;
53gnc_html_history_node * gnc_html_history_back(gnc_html_history * h) NOEXCEPT;
54int gnc_html_history_forward_p(gnc_html_history * h) NOEXCEPT;
55int gnc_html_history_back_p(gnc_html_history * h) NOEXCEPT;
56void gnc_html_history_set_node_destroy_cb(gnc_html_history * h,
57 gnc_html_history_destroy_cb cb,
58 gpointer cb_data) NOEXCEPT;
60gnc_html_history_node * gnc_html_history_node_new(URLType type,
61 const gchar * location,
62 const gchar *label) NOEXCEPT;
64void gnc_html_history_node_destroy(gnc_html_history_node *node) NOEXCEPT;