Version 1.7.4.1
[socat.git] / xio-ascii.h
blob53449f7dbbc74cd0c4fb3d9689a68bb1cb0a9afc
1 /* source: xio-ascii.h */
2 /* Copyright Gerhard Rieger and contributors (see file CHANGES) */
3 /* Published under the GNU General Public License V.2, see file COPYING */
5 #ifndef __xio_ascii_h_included
6 #define __xio_ascii_h_included 1
8 extern char *
9 xiob64encodeline(const char *data, /* input data */
10 size_t bytes, /* length of input data, >=0 */
11 char *coded /* output buffer, must be long enough */
13 extern char *xiosanitize(const char *data, /* input data */
14 size_t bytes, /* length of input data, >=0 */
15 char *coded /* output buffer, must be long enough */
17 extern char *
18 xiohexdump(const unsigned char *data, size_t bytes, char *coded);
20 extern char *
21 xiodump(const unsigned char *data, size_t bytes, char *coded, size_t codlen,
22 int coding);
24 #endif /* !defined(__xio_ascii_h_included) */