Home | History | Annotate | Line # | Download | only in util
      1 /*	$NetBSD: base32_code.h,v 1.3 2020/03/18 19:05:21 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 /*	Wietse Venema
     38 /*	Google, Inc.
     39 /*	111 8th Avenue
     40 /*	New York, NY 10011, USA
     41 /*--*/
     42 
     43 #endif
     44