--- nntp.h 2001/09/04 09:46:06 1.8
+++ nntp.h 2001/09/07 15:02:08 1.9
@@ -37,9 +37,10 @@
typedef struct nntp_st nntp_t;
typedef struct {
- int (*select)(int, fd_set *, fd_set *, fd_set *, struct timeval *);
- ssize_t (*read)(int, void *, size_t);
- ssize_t (*write)(int, const void *, size_t);
+ void *ctx;
+ int (*select)(void *, int, fd_set *, fd_set *, fd_set *, struct timeval *);
+ ssize_t (*read)(void *, int, void *, size_t);
+ ssize_t (*write)(void *, int, const void *, size_t);
} nntp_io_t;
typedef enum {
|