1 /* 2 ** Copyright (c) 2005 Sendmail, Inc. and its suppliers. 3 ** All rights reserved. 4 ** 5 ** Copyright (c) 2009, 2012, The Trusted Domain Project. All rights reserved. 6 */ 7 8 #ifndef _BASE64_H_ 9 #define _BASE64_H_ 10 11 /* system includes */ 12 #include <sys/types.h> 13 14 /* prototypes */ 15 extern int dkim_base64_decode(u_char *str, u_char *buf, size_t buflen); 16 extern int dkim_base64_encode(u_char *data, size_t datalen, u_char *buf, 17 size_t buflen); 18 19 #endif /* ! _BASE64_H_ */ 20