hex_code.h revision 1.1.1.1
1/* $NetBSD: hex_code.h,v 1.1.1.1 2009/06/23 10:09:00 tron Exp $ */ 2 3#ifndef _HEX_CODE_H_INCLUDED_ 4#define _HEX_CODE_H_INCLUDED_ 5 6/*++ 7/* NAME 8/* hex_code 3h 9/* SUMMARY 10/* encode/decode data, hexadecimal style 11/* SYNOPSIS 12/* #include <hex_code.h> 13/* DESCRIPTION 14/* .nf 15 16 /* 17 * Utility library. 18 */ 19#include <vstring.h> 20 21 /* 22 * External interface. 23 */ 24extern VSTRING *hex_encode(VSTRING *, const char *, ssize_t); 25extern VSTRING *hex_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