xref: /netbsd-src/external/ibm-public/postfix/dist/src/util/base32_code.h (revision 7330f729ccf0bd976a06f95fad452fe774fc7fd1)
1 /*	$NetBSD: base32_code.h,v 1.2 2017/02/14 01:16:49 christos Exp $	*/
2 
3 #ifndef _BASE32_CODE_H_INCLUDED_
4 #define _BASE32_CODE_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	base32_code 3h
9 /* SUMMARY
10 /*	encode/decode data, base 32 style
11 /* SYNOPSIS
12 /*	#include <base32_code.h>
13 /* DESCRIPTION
14 /* .nf
15 
16  /*
17   * Utility library.
18  */
19 #include <vstring.h>
20 
21  /*
22   * External interface.
23   */
24 extern VSTRING *base32_encode(VSTRING *, const char *, ssize_t);
25 extern VSTRING *WARN_UNUSED_RESULT base32_decode(VSTRING *, const char *, ssize_t);
26 
27 /* LICENSE
28 /* .ad
29 /* .fi
30 /*	The Secure Mailer license must be distributed with this software.
31 /* AUTHOR(S)
32 /*	Wietse Venema
33 /*	IBM T.J. Watson Research
34 /*	P.O. Box 704
35 /*	Yorktown Heights, NY 10598, USA
36 /*--*/
37 
38 #endif
39