17c478bd9Sstevel@tonic-gate #ifndef _BASE64_H 27c478bd9Sstevel@tonic-gate #define _BASE64_H 37c478bd9Sstevel@tonic-gate 4*442d23f4Sjp161948 /* $Id: base64.h,v 1.3 2002/02/26 16:59:59 stevesk Exp $ */ 5*442d23f4Sjp161948 67c478bd9Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 77c478bd9Sstevel@tonic-gate 87c478bd9Sstevel@tonic-gate #ifdef __cplusplus 97c478bd9Sstevel@tonic-gate extern "C" { 107c478bd9Sstevel@tonic-gate #endif 117c478bd9Sstevel@tonic-gate 127c478bd9Sstevel@tonic-gate 137c478bd9Sstevel@tonic-gate #include "config.h" 147c478bd9Sstevel@tonic-gate 157c478bd9Sstevel@tonic-gate #ifndef HAVE___B64_NTOP 167c478bd9Sstevel@tonic-gate # ifndef HAVE_B64_NTOP 177c478bd9Sstevel@tonic-gate int b64_ntop(u_char const *src, size_t srclength, char *target, 187c478bd9Sstevel@tonic-gate size_t targsize); 19*442d23f4Sjp161948 int b64_pton(u_char const *src, u_char *target, size_t targsize); 207c478bd9Sstevel@tonic-gate # endif /* !HAVE_B64_NTOP */ 217c478bd9Sstevel@tonic-gate # define __b64_ntop b64_ntop 227c478bd9Sstevel@tonic-gate # define __b64_pton b64_pton 237c478bd9Sstevel@tonic-gate #endif /* HAVE___B64_NTOP */ 247c478bd9Sstevel@tonic-gate 257c478bd9Sstevel@tonic-gate #ifdef __cplusplus 267c478bd9Sstevel@tonic-gate } 277c478bd9Sstevel@tonic-gate #endif 287c478bd9Sstevel@tonic-gate 297c478bd9Sstevel@tonic-gate #endif /* _BASE64_H */ 30