move rfc822.c as well
[apps/madmutt.git] / lib-mime / rfc822.c
similarity index 95%
rename from rfc822.c
rename to lib-mime/rfc822.c
index 30f1379..82c3e7c 100644 (file)
--- a/rfc822.c
@@ -1,3 +1,22 @@
+/*
+ *  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>
@@ -7,10 +26,6 @@
  * please see the file GPL in the top level source directory.
  */
 
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
 #include <string.h>
 #include <ctype.h>
 #include <stdlib.h>
@@ -20,7 +35,6 @@
 #include <lib-lib/ascii.h>
 #include <lib-lib/macros.h>
 
-#include "mutt.h"
 #include "mutt_idna.h"