summaryrefslogtreecommitdiffstats
path: root/src/LYHistory.h
blob: a8f2b1ca7c822d35ff745e5cba68741e5ca47da3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 * $LynxId: LYHistory.h,v 1.22 2021/06/09 22:33:06 tom Exp $
 */
#ifndef LYHISTORY_H
#define LYHISTORY_H

#ifndef LYSTRUCTS_H
#include <LYStructs.h>
#endif /* LYSTRUCTS_H */

#ifdef __cplusplus
extern "C" {
#endif
    extern BOOLEAN LYwouldPush(const char *title, const char *docurl);
    extern BOOLEAN historytarget(DocInfo *newdoc);
    extern int LYShowVisitedLinks(char **newfile);
    extern int LYhist_next(DocInfo *doc, DocInfo *newdoc);
    extern int LYpush(DocInfo *doc, int force_push);
    extern int showhistory(char **newfile);
    extern void LYAddVisitedLink(DocInfo *doc);
    extern void LYAllocHistory(unsigned entries);
    extern void LYFreePostData(DocInfo *data);
    extern void LYFreeDocInfo(DocInfo *data);
    extern void LYhist_prev(DocInfo *doc);
    extern void LYhist_prev_register(DocInfo *doc);
    extern void LYpop(DocInfo *doc);
    extern void LYpop_num(int number, DocInfo *doc);
    extern void LYstatusline_messages_on_exit(char **buf);
    extern void LYstore_message(const char *message);
    extern void LYstore_message2(const char *message, const char *argument);

    extern HTList *Visited_Links;
    extern int nhist_extra;
    extern int status_buf_size;

#ifdef __cplusplus
}
#endif
#endif				/* LYHISTORY_H */