summaryrefslogtreecommitdiff
path: root/src/gl-journal.h
diff options
context:
space:
mode:
authorJonathan Kang <jonathan121537@gmail.com>2017-01-05 21:52:50 +0800
committerJonathan Kang <jonathan121537@gmail.com>2017-01-05 21:52:50 +0800
commit4c10e48d679894db95c91f0b9c724789d1685802 (patch)
treeb8ec74acf04d0fcc07087d85004ebc3fde0023b5 /src/gl-journal.h
parent15d52ca7135a8a4a1acebad70ab2ada5293c4d38 (diff)
downloadgnome-logs-4c10e48d679894db95c91f0b9c724789d1685802.tar.gz
Rename some functions
Rename gl-*-get_current_boot_time to gl-*-get_boot_time. Since we pass boot_match to these functions, the return value is boot time regrading to a specific boot_match instead of the current boot time.
Diffstat (limited to 'src/gl-journal.h')
-rw-r--r--src/gl-journal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gl-journal.h b/src/gl-journal.h
index 648ecb0..91612da 100644
--- a/src/gl-journal.h
+++ b/src/gl-journal.h
@@ -76,8 +76,8 @@ void gl_journal_set_start_position (GlJournal *journal, guint64 until_timestamp)
GArray * gl_journal_get_boot_ids (GlJournal *journal);
GlJournalEntry * gl_journal_previous (GlJournal *journal);
GlJournal * gl_journal_new (void);
-gchar * gl_journal_get_current_boot_time (GlJournal *journal,
- const gchar *boot_match);
+gchar * gl_journal_get_boot_time (GlJournal *journal,
+ const gchar *boot_match);
guint64 gl_journal_entry_get_timestamp (GlJournalEntry *entry);
const gchar * gl_journal_entry_get_message (GlJournalEntry *entry);