|
ELinks 0.19.1
|
#include "elinks.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include "bfu/dialog.h"#include "config/home.h"#include "config/options.h"#include "globhist/dialogs.h"#include "globhist/globhist.h"#include "intl/libintl.h"#include "main/module.h"#include "main/object.h"#include "main/select.h"#include "util/conv.h"#include "util/file.h"#include "util/hash.h"#include "util/memory.h"#include "util/secsave.h"#include "util/string.h"#include "util/lists.h"
Macros | |
| #define | _GNU_SOURCE /* XXX: we _WANT_ strcasestr() ! */ |
| #define | GLOBAL_HISTORY_FILENAME "globhist" |
| #define | get_opt_globhist(which) |
| #define | get_globhist_enable() |
| #define | get_globhist_max_items() |
| #define | get_globhist_display_type() |
Enumerations | |
| enum | global_history_options { GLOBHIST_TREE , GLOBHIST_ENABLE , GLOBHIST_MAX_ITEMS , GLOBHIST_DISPLAY_TYPE , GLOBHIST_OPTIONS } |
Functions | |
| INIT_INPUT_HISTORY (global_history) | |
| static void | remove_item_from_global_history (struct global_history_item *history_item) |
| static void | reap_deleted_globhist_items (void) |
| static void | done_global_history_item (struct global_history_item *history_item) |
| void | delete_global_history_item (struct global_history_item *history_item) |
| struct global_history_item * | get_global_history_item (char *url) |
| static struct global_history_item * | init_global_history_item (char *url, char *title, time_t vtime) |
| static int | cap_global_history (int max_globhist_items) |
| static void | add_item_to_global_history (struct global_history_item *history_item, int max_globhist_items) |
| void | add_global_history_item (char *url, char *title, time_t vtime) |
| int | globhist_simple_search (char *search_url, char *search_title) |
| static void | read_global_history (void) |
| static void | write_global_history (void) |
| static void | free_global_history (void) |
| static enum evhook_status | global_history_write_hook (va_list ap, void *data) |
| static void | init_global_history (struct module *module) |
| static void | done_global_history (struct module *module) |
Variables | |
| struct global_history_item list | global_history_reap_list = { D_LIST_HEAD_EL(global_history_reap_list) } |
| char * | gh_last_searched_title = NULL |
| char * | gh_last_searched_url = NULL |
| static union option_info | global_history_options [] |
| static struct hash * | globhist_cache = NULL |
| static int | globhist_cache_entries = 0 |
| struct event_hook_info | global_history_hooks [] |
| struct module | global_history_module |
| #define _GNU_SOURCE /* XXX: we _WANT_ strcasestr() ! */ |
| #define get_globhist_display_type | ( | ) |
| #define get_globhist_enable | ( | ) |
| #define get_globhist_max_items | ( | ) |
| #define get_opt_globhist | ( | which | ) |
| #define GLOBAL_HISTORY_FILENAME "globhist" |
| void add_global_history_item | ( | char * | url, |
| char * | title, | ||
| time_t | vtime ) |
|
static |
|
static |
| void delete_global_history_item | ( | struct global_history_item * | history_item | ) |
|
static |
|
static |
|
static |
| struct global_history_item * get_global_history_item | ( | char * | url | ) |
|
static |
| int globhist_simple_search | ( | char * | search_url, |
| char * | search_title ) |
|
static |
|
static |
| INIT_INPUT_HISTORY | ( | global_history | ) |
|
static |
|
static |
|
static |
|
static |
| char* gh_last_searched_title = NULL |
| char* gh_last_searched_url = NULL |
| struct event_hook_info global_history_hooks[] |
| struct module global_history_module |
|
static |
| struct global_history_item list global_history_reap_list = { D_LIST_HEAD_EL(global_history_reap_list) } |
|
static |