1 $NetBSD: patch-al,v 1.1 2000/01/15 17:44:23 hubertf Exp $
3 diff -x *.orig -urN ./WWW/Library/Implementation/HTHistory.h /usr/pkgsrc/www/lynx/work.unpatched/lynx2-8-2/WWW/Library/Implementation/HTHistory.h
4 --- ./WWW/Library/Implementation/HTHistory.h Thu Jan 1 01:00:00 1970
5 +++ /usr/pkgsrc/www/lynx/work.unpatched/lynx2-8-2/WWW/Library/Implementation/HTHistory.h Sat Jan 15 07:57:18 2000
12 +#include <HTAnchor.h>
15 +#define HTHistory_record HTHiReco
16 +#define HTHistory_backtrack HTHiBack
17 +#define HTHistory_canBacktrack HTHiCaBa
18 +#define HTHistory_moveBy HTHiMoBy
19 +#define HTHistory_canMoveBy HTHiCaMo
20 +#define HTHistory_read HTHiRead
21 +#define HTHistory_recall HTHiReca
22 +#define HTHistory_count HTHiCoun
23 +#define HTHistory_leavingFrom HTHiLeFr
30 +/* Record the jump to an anchor
31 +** ----------------------------
34 +extern void HTHistory_record
36 + (HTAnchor * destination)
39 +/* Go back in history (find the last visited node)
40 +** ------------------
43 +extern HTAnchor * HTHistory_backtrack
44 + NOPARAMS; /* FIXME: Should we add a `sticky' option ? */
46 +extern BOOL HTHistory_canBacktrack
49 +/* Browse through references in the same parent node
50 +** -------------------------------------------------
52 +** Take the n-th child's link after or before the one we took to get here.
53 +** Positive offset means go towards most recently added children.
56 +extern HTAnchor * HTHistory_moveBy
61 +extern BOOL HTHistory_canMoveBy
66 +#define HTHistory_next (HTHistory_moveBy (+1))
67 +#define HTHistory_canNext (HTHistory_canMoveBy (+1))
68 +#define HTHistory_previous (HTHistory_moveBy (-1))
69 +#define HTHistory_canPrevious (HTHistory_canMoveBy (-1))
76 +/* Read numbered visited anchor (1 is the oldest)
77 +** ----------------------------
80 +extern HTAnchor * HTHistory_read
85 +/* Recall numbered visited anchor (1 is the oldest)
86 +** ------------------------------
87 +** This reads the anchor and stores it again in the list, except if last.
90 +extern HTAnchor * HTHistory_recall
95 +/* Number of Anchors stored
96 +** ------------------------
98 +** This is needed in order to check the validity of certain commands
100 +(not needed for now. Use canBacktrack, etc.)
101 +extern int HTHistory_count NOPARAMS;
104 +/* Change last history entry
105 +** -------------------------
107 +** Sometimes we load a node by one anchor but leave by a different
108 +** one, and it is the one we left from which we want to remember.
110 +extern void HTHistory_leavingFrom
112 + (HTAnchor * anchor)
115 +#endif /* HTHISTORY_H */