summaryrefslogtreecommitdiff
path: root/src/visited.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/visited.h')
-rw-r--r--src/visited.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/visited.h b/src/visited.h
index fec0b4c3..1f2d4fcf 100644
--- a/src/visited.h
+++ b/src/visited.h
@@ -41,6 +41,7 @@ struct Impl_VisitedUrl {
41 41
42enum iVisitedUrlFlag { 42enum iVisitedUrlFlag {
43 transient_VisitedUrlFlag = 0x1, /* redirected; don't show in history */ 43 transient_VisitedUrlFlag = 0x1, /* redirected; don't show in history */
44 kept_VisitedUrlFlag = 0x2, /* don't discard this even after max age */
44}; 45};
45 46
46iDeclareType(Visited) 47iDeclareType(Visited)
@@ -52,7 +53,9 @@ void save_Visited (const iVisited *, const char *dirPath);
52 53
53iTime urlVisitTime_Visited (const iVisited *, const iString *url); 54iTime urlVisitTime_Visited (const iVisited *, const iString *url);
54void visitUrl_Visited (iVisited *, const iString *url, uint16_t visitFlags); /* adds URL to the visited URLs set */ 55void visitUrl_Visited (iVisited *, const iString *url, uint16_t visitFlags); /* adds URL to the visited URLs set */
56void setUrlKept_Visited (iVisited *, const iString *url, iBool isKept); /* URL is marked as (non)discardable */
55void removeUrl_Visited (iVisited *, const iString *url); 57void removeUrl_Visited (iVisited *, const iString *url);
56iBool containsUrl_Visited (const iVisited *, const iString *url); 58iBool containsUrl_Visited (const iVisited *, const iString *url);
57 59
58const iPtrArray * list_Visited (const iVisited *, size_t count); /* returns collected */ 60const iPtrArray * list_Visited (const iVisited *, size_t count); /* returns collected */
61const iPtrArray * listKept_Visited (const iVisited *);