aboutsummaryrefslogtreecommitdiff
path: root/src/base64.h
blob: d466d282750d6c961855e9ed63282f7501b346f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 /*@@
   @header    base64.h
   @date      Fri Sep 15 12:03:21 2000
   @author    Tom Goodale
   @desc 
   Header for base64 encoding stuff.
   @enddesc 
   @version $Header$
 @@*/

#ifndef __BASE64_H__
#define __BASE64_H__ 1

#ifdef __cplusplus
extern "C" 
{
#endif

int HTTP_b64_ntop(unsigned char *src, size_t srclength, 
                  char *target, size_t targsize);

int HTTP_b64_pton(const char *src, unsigned char *target, size_t targsize);

#ifdef __cplusplus
}
#endif

#endif /* __BASE64_H__ */