diff options
author | Stevan Andjelkovic <stevan.andjelkovic@strath.ac.uk> | 2012-01-02 17:57:33 +0100 |
---|---|---|
committer | Stevan Andjelkovic <stevan.andjelkovic@strath.ac.uk> | 2012-01-02 17:57:33 +0100 |
commit | c1ac3eb45e9211189581d99398016821649ac644 (patch) | |
tree | 2b5dd4417eefab2c568b94fc054d32c3aeb3a974 /xxxterm.h | |
parent | 5b1812e85743e196c281d70483ef646aa53ef489 (diff) | |
download | xombrero-c1ac3eb45e9211189581d99398016821649ac644.tar.gz |
Add history.c and completion.c...
... and move history and completion related functions to them. ok marco@
Diffstat (limited to 'xxxterm.h')
-rw-r--r-- | xxxterm.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/xxxterm.h b/xxxterm.h index e510bc4..b32d967 100644 --- a/xxxterm.h +++ b/xxxterm.h @@ -275,6 +275,8 @@ void show_oops(struct tab *, const char *, ...); gchar *get_html_page(gchar *, gchar *, gchar *, bool); const gchar *get_uri(struct tab *); const gchar *get_title(struct tab *, bool); +void load_uri(struct tab *t, gchar *uri); +gboolean match_uri(const gchar *uri, const gchar *key); void load_webkit_string(struct tab *, const char *, gchar *); void button_set_stockid(GtkWidget *, char *); @@ -285,6 +287,17 @@ int remove_cookie_domain(int); void print_cookie(char *msg, SoupCookie *); void setup_cookies(void); +/* history */ +int insert_history_item(const gchar *uri, const gchar *title, time_t time); +int save_global_history_to_disk(struct tab *t); +int restore_global_history(void); +char *color_visited_helper(void); +int color_visited(struct tab *t, char *visited); + +/* completion */ +void completion_add(struct tab *); +void completion_add_uri(const gchar *uri); + /* proxy */ #define XT_PRXY_SHOW (1<<0) #define XT_PRXY_TOGGLE (1<<1) @@ -567,10 +580,12 @@ extern SoupCookieJar *s_cookiejar; extern SoupCookieJar *p_cookiejar; extern SoupSession *session; extern GtkNotebook *notebook; +extern GtkListStore *completion_model; extern void (*_soup_cookie_jar_add_cookie)(SoupCookieJar *, SoupCookie *); extern struct history_list hl; +extern int hl_purge_count; extern struct download_list downloads; extern struct tab_list tabs; extern struct about_type about_list[]; |