summaryrefslogtreecommitdiff
path: root/src/history.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/history.h')
-rw-r--r--src/history.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/history.h b/src/history.h
index 1acf7049..ccc19d27 100644
--- a/src/history.h
+++ b/src/history.h
@@ -41,6 +41,13 @@ struct Impl_RecentUrl {
41 iGmDocument *cachedDoc; /* cached copy of the presentation: layout and media (not serialized) */ 41 iGmDocument *cachedDoc; /* cached copy of the presentation: layout and media (not serialized) */
42}; 42};
43 43
44iDeclareType(MemInfo)
45
46struct Impl_MemInfo {
47 size_t cacheSize; /* number of bytes stored persistently */
48 size_t memorySize; /* number of bytes stored in RAM */
49};
50
44/*----------------------------------------------------------------------------------------------*/ 51/*----------------------------------------------------------------------------------------------*/
45 52
46iDeclareType(History) 53iDeclareType(History)
@@ -78,4 +85,4 @@ const iGmResponse *
78size_t cacheSize_History (const iHistory *); 85size_t cacheSize_History (const iHistory *);
79 86
80iString * debugInfo_History (const iHistory *); 87iString * debugInfo_History (const iHistory *);
81 88iMemInfo memoryUsage_History (const iHistory *);