(mu_tls_readline_fn)
(mu_tls_writeline_fn, mu_tls_stream_ctl_fn): New data types. (mu_tls_begin): New prototype.
Showing
1 changed file
with
10 additions
and
0 deletions
... | @@ -42,6 +42,16 @@ extern void mu_deinit_tls_libs (void); | ... | @@ -42,6 +42,16 @@ extern void mu_deinit_tls_libs (void); |
42 | extern void mu_tls_init_argp (void); | 42 | extern void mu_tls_init_argp (void); |
43 | extern void mu_tls_init_client_argp (void); | 43 | extern void mu_tls_init_client_argp (void); |
44 | 44 | ||
45 | typedef int (*mu_tls_readline_fn) (void *iodata); | ||
46 | typedef int (*mu_tls_writeline_fn) (void *iodata, char *buf); | ||
47 | typedef void (*mu_tls_stream_ctl_fn) (void *iodata, mu_stream_t *pold, | ||
48 | mu_stream_t new); | ||
49 | |||
50 | extern int mu_tls_begin (void *iodata, mu_tls_readline_fn reader, | ||
51 | mu_tls_writeline_fn writer, | ||
52 | mu_tls_stream_ctl_fn stream_ctl, | ||
53 | char *keywords[]); | ||
54 | |||
45 | extern int mu_tls_enable; | 55 | extern int mu_tls_enable; |
46 | 56 | ||
47 | #ifdef __cplusplus | 57 | #ifdef __cplusplus | ... | ... |
-
Please register or sign in to post a comment