1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00
elinks/src/globhist/globhist.h
Petr Baudis 0f6d4310ad Initial commit of the HEAD branch of the ELinks CVS repository, as of
Thu Sep 15 15:57:07 CEST 2005. The previous history can be added to this
by grafting.
2005-09-15 15:58:31 +02:00

37 lines
874 B
C

/* $Id: globhist.h,v 1.26 2005/07/27 23:38:33 jonas Exp $ */
#ifndef EL__GLOBHIST_GLOBHIST_H
#define EL__GLOBHIST_GLOBHIST_H
#include "main/object.h"
#include "util/lists.h"
#include "util/time.h"
struct listbox_item;
struct input_history;
struct global_history_item {
OBJECT_HEAD(struct global_history_item);
struct listbox_item *box_item;
unsigned char *title;
unsigned char *url;
time_t last_visit;
};
extern struct input_history global_history;
extern unsigned char *gh_last_searched_title;
extern unsigned char *gh_last_searched_url;
extern struct module global_history_module;
void delete_global_history_item(struct global_history_item *);
struct global_history_item *get_global_history_item(unsigned char *);
void add_global_history_item(unsigned char *, unsigned char *, time_t);
int globhist_simple_search(unsigned char *, unsigned char *);
#endif