/*
**  Copyright (c) 2005 Sendmail, Inc. and its suppliers.
**    All rights reserved.
*/

#ifndef _BASE64_H_
#define _BASE64_H_

#ifndef lint
static char base64_h_id[] = "@(#)$Id: base64.h,v 1.1 2005/05/05 20:11:08 msk Exp $";
#endif /* !lint */

/* system includes */
#include <sys/types.h>

/* prototypes */
extern int dkim_base64_decode(u_char *str, u_char *buf, size_t buflen);
extern int dkim_base64_encode(u_char *data, size_t datalen, u_char *buf,
                              size_t buflen);

#endif /* ! _BASE64_H_ */
