Commit 34a5e544 34a5e54496a8ac24c1131ea1423f70f959372c7a by Sergey Poznyakoff

(struct _stream._get_fd): Removed

(_get_transport2,_wait): New methods
1 parent 79e940c6
...@@ -54,7 +54,7 @@ struct _stream ...@@ -54,7 +54,7 @@ struct _stream
54 void (*_destroy) __P ((stream_t)); 54 void (*_destroy) __P ((stream_t));
55 int (*_open) __P ((stream_t)); 55 int (*_open) __P ((stream_t));
56 int (*_close) __P ((stream_t)); 56 int (*_close) __P ((stream_t));
57 int (*_get_fd) __P ((stream_t, int *, int *)); 57 int (*_get_transport2) __P ((stream_t, mu_transport_t *, mu_transport_t *));
58 int (*_read) __P ((stream_t, char *, size_t, off_t, size_t *)); 58 int (*_read) __P ((stream_t, char *, size_t, off_t, size_t *));
59 int (*_readline) __P ((stream_t, char *, size_t, off_t, size_t *)); 59 int (*_readline) __P ((stream_t, char *, size_t, off_t, size_t *));
60 int (*_write) __P ((stream_t, const char *, size_t, off_t, size_t *)); 60 int (*_write) __P ((stream_t, const char *, size_t, off_t, size_t *));
...@@ -63,6 +63,7 @@ struct _stream ...@@ -63,6 +63,7 @@ struct _stream
63 int (*_flush) __P ((stream_t)); 63 int (*_flush) __P ((stream_t));
64 int (*_setbufsiz)__P ((stream_t, size_t)); 64 int (*_setbufsiz)__P ((stream_t, size_t));
65 int (*_strerror) __P ((stream_t, char **)); 65 int (*_strerror) __P ((stream_t, char **));
66 int (*_wait) __P((stream_t, int *pflags, struct timeval *tvp));
66 }; 67 };
67 68
68 #ifdef __cplusplus 69 #ifdef __cplusplus
......