Merge branch 'master' of ssh+git://git.claws-mail.org/home/git/claws
[claws.git] / src / common / base64.h
index 5152e0a1bc14840e9ec22bc69d537490eb4edc74..3a385150f1eac1f7c5650ed7c8ff5f9ce9db3f44 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2002 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail teams
  *
  * 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
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
@@ -13,8 +13,8 @@
  * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * 
  */
 
 #ifndef __BASE64_H__
@@ -43,6 +43,7 @@ Base64Decoder *base64_decoder_new     (void);
 void          base64_decoder_free      (Base64Decoder  *decoder);
 gint          base64_decoder_decode    (Base64Decoder  *decoder,
                                         const gchar    *in,
-                                        guchar         *out);
+                                        guchar         *out,
+                                        gint           inlen);
 
 #endif /* __BASE64_H__ */