handler.c hcache.c hdrline.c headers.c help.c history.c hook.c \
init.c keymap.c lib.c \
main.c mbox.c mbyte.c menu.c mh.c muttlib.c mutt_idna.c mx.c \
- pager.c parse.c pattern.c postpone.c query.c \
+ pager.c pattern.c postpone.c query.c \
recvattach.c recvcmd.c rfc1524.c rfc3676.c \
score.c send.c sendlib.c sidebar.c signal.c sort.c state.c status.c system.c \
thread.c url.c utf8.c wcwidth.c \
* Copyright © 2006 Pierre Habouzit
*/
-#ifndef MUTT_LIB_LIB_STR_H
-#define MUTT_LIB_LIB_STR_H
+#ifndef MUTT_LIB_LIB_DATE_H
+#define MUTT_LIB_LIB_DATE_H
#include <time.h>
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or (at
+ * your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * Copyright © 2006 Pierre Habouzit
+ */
+
/*
* Copyright notice from original mutt:
* Copyright (C) 1996-2000 Michael R. Elkins <me@mutt.org>
# include "config.h"
#endif
+#include <sys/stat.h>
+#include <stdlib.h>
+
#include <lib-lib/mem.h>
#include <lib-lib/str.h>
#include <lib-lib/ascii.h>
#include <lib-lib/macros.h>
#include <lib-lib/buffer.h>
+#include <lib-lib/date.h>
-#include <lib-mime/mime.h>
+#include <lib-crypt/crypt.h>
#include "mutt.h"
#include "enter.h"
#include "recvattach.h"
#include "mx.h"
-#include <lib-crypt/crypt.h>
#include "url.h"
#include "lib/rx.h"
#include "lib/debug.h"
-#include <string.h>
-#include <ctype.h>
-#include <sys/stat.h>
-#include <stdlib.h>
+#include "mime.h"
/* Reads an arbitrarily long header field, and looks ahead for continuation
* lines. ``line'' must point to a dynamically allocated string; it is