summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-10-10 01:37:38 +0200
committerLennart Poettering <lennart@poettering.net>2012-10-10 01:37:38 +0200
commita3eb665e0c12df35e807611582e7332ebed325b1 (patch)
treea54bf8e4850531fb06052ff071f2ba5a03907071 /src/journal
parentad9eafab9fb182388777bab4bc7d32fd84702198 (diff)
journal: update comments a bit
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journal-internal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/journal/journal-internal.h b/src/journal/journal-internal.h
index 7cedcac665..edd4f23baf 100644
--- a/src/journal/journal-internal.h
+++ b/src/journal/journal-internal.h
@@ -57,9 +57,16 @@ struct Match {
};
typedef enum LocationType {
+ /* The first and last entries, resp. */
LOCATION_HEAD,
LOCATION_TAIL,
+
+ /* We already read the entry we currently point to, and the
+ * next one to read should probably not be this one again. */
LOCATION_DISCRETE,
+
+ /* We should seek to the precise location specified, and
+ * return it, as we haven't read it yet. */
LOCATION_SEEK
} LocationType;