diff options
Diffstat (limited to 'src/visited.h')
-rw-r--r-- | src/visited.h | 5 |
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 | ||
42 | enum iVisitedUrlFlag { | 42 | enum 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 | ||
46 | iDeclareType(Visited) | 47 | iDeclareType(Visited) |
@@ -52,7 +53,9 @@ void save_Visited (const iVisited *, const char *dirPath); | |||
52 | 53 | ||
53 | iTime urlVisitTime_Visited (const iVisited *, const iString *url); | 54 | iTime urlVisitTime_Visited (const iVisited *, const iString *url); |
54 | void visitUrl_Visited (iVisited *, const iString *url, uint16_t visitFlags); /* adds URL to the visited URLs set */ | 55 | void visitUrl_Visited (iVisited *, const iString *url, uint16_t visitFlags); /* adds URL to the visited URLs set */ |
56 | void setUrlKept_Visited (iVisited *, const iString *url, iBool isKept); /* URL is marked as (non)discardable */ | ||
55 | void removeUrl_Visited (iVisited *, const iString *url); | 57 | void removeUrl_Visited (iVisited *, const iString *url); |
56 | iBool containsUrl_Visited (const iVisited *, const iString *url); | 58 | iBool containsUrl_Visited (const iVisited *, const iString *url); |
57 | 59 | ||
58 | const iPtrArray * list_Visited (const iVisited *, size_t count); /* returns collected */ | 60 | const iPtrArray * list_Visited (const iVisited *, size_t count); /* returns collected */ |
61 | const iPtrArray * listKept_Visited (const iVisited *); | ||