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