add listen-timeout to function as an accept timeout
[socat/sam.git] / xio-ascii.h
blobbcb760f89f0bee49a8073b6f6a8f3ad8f06ef44e
1 /* source: xio-ascii.h */
2 /* Copyright Gerhard Rieger 2002-2008 */
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) */