Back to index

opendkim  2.6.6
base64.h
Go to the documentation of this file.
00001 /*
00002 **  Copyright (c) 2005 Sendmail, Inc. and its suppliers.
00003 **    All rights reserved.
00004 **
00005 **  Copyright (c) 2009, The OpenDKIM Project.  All rights reserved.
00006 */
00007 
00008 #ifndef _BASE64_H_
00009 #define _BASE64_H_
00010 
00011 #ifndef lint
00012 static char base64_h_id[] = "@(#)$Id: base64.h,v 1.1 2009/07/16 19:12:03 cm-msk Exp $";
00013 #endif /* !lint */
00014 
00015 /* system includes */
00016 #include <sys/types.h>
00017 
00018 /* prototypes */
00019 extern int dkim_base64_decode(u_char *str, u_char *buf, size_t buflen);
00020 extern int dkim_base64_encode(u_char *data, size_t datalen, u_char *buf,
00021                               size_t buflen);
00022 
00023 #endif /* ! _BASE64_H_ */