diff options
author | Carl Worth <cworth@cworth.org> | 2009-10-19 13:21:58 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-10-19 13:24:07 -0700 |
commit | 8e4e0559e74262c3e24f832e5cf729287be205c7 (patch) | |
tree | d898d3d0b28ca197e3b5eec4fb3e50b746d301ab /date.c | |
parent | 747f610901f979c30dafe22f46e4f0b802c2f901 (diff) |
date.c: Rename function to notmuch_parse_date
Now completing the process of making this function "our own".
The documentation is deleted here, because we already have
the documentation we want in notmuch-private.h.
Diffstat (limited to 'date.c')
-rw-r--r-- | date.c | 15 |
1 files changed, 1 insertions, 14 deletions
@@ -638,21 +638,8 @@ gmime_datetok_table_init (void) } #endif - -/** - * g_mime_utils_header_decode_date: - * @str: input date string - * @tz_offset: timezone offset - * - * Decodes the rfc822 date string and saves the GMT offset into - * @tz_offset if non-NULL. - * - * Returns: the time_t representation of the date string specified by - * @str or (time_t) %0 on error. If @tz_offset is non-NULL, the value - * of the timezone offset will be stored. - **/ time_t -g_mime_utils_header_decode_date (const char *str, int *tz_offset) +notmuch_parse_date (const char *str, int *tz_offset) { date_token *token, *tokens; time_t date; |