Commit 3db6fcda 3db6fcda42fc1078efc8b121ee1f36158b7a47dd by Wojciech Polak

(mu_tls_readline_fn)

(mu_tls_writeline_fn, mu_tls_stream_ctl_fn): New data types.
(mu_tls_begin): New prototype.
1 parent f5bd422e
......@@ -42,6 +42,16 @@ extern void mu_deinit_tls_libs (void);
extern void mu_tls_init_argp (void);
extern void mu_tls_init_client_argp (void);
typedef int (*mu_tls_readline_fn) (void *iodata);
typedef int (*mu_tls_writeline_fn) (void *iodata, char *buf);
typedef void (*mu_tls_stream_ctl_fn) (void *iodata, mu_stream_t *pold,
mu_stream_t new);
extern int mu_tls_begin (void *iodata, mu_tls_readline_fn reader,
mu_tls_writeline_fn writer,
mu_tls_stream_ctl_fn stream_ctl,
char *keywords[]);
extern int mu_tls_enable;
#ifdef __cplusplus
......