add listen-timeout to function as an accept timeout
[socat/sam.git] / xio-readline.h
blobfae81b1f9b8958d205e9febe53ea61efd1595f77
1 /* source: xio-readline.h */
2 /* Copyright Gerhard Rieger 2002, 2003 */
3 /* Published under the GNU General Public License V.2, see file COPYING */
5 #ifndef __xio_readline_h_included
6 #define __xio_readline_h_included 1
8 extern const struct addrdesc addr_readline;
10 extern const struct optdesc opt_history_file;
11 extern const struct optdesc opt_prompt;
12 extern const struct optdesc opt_noprompt;
13 extern const struct optdesc opt_noecho;
15 extern ssize_t xioread_readline(struct single *pipe, void *buff, size_t bufsiz);extern void xioscan_readline(struct single *pipe, const void *buff, size_t bytes);
17 #endif /* !defined(__xio_readline_h_included) */