--- lmtp.h 2001/09/04 09:46:06 1.9
+++ lmtp.h 2001/09/07 15:02:08 1.10
@@ -36,9 +36,10 @@
typedef struct lmtp_st lmtp_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);
} lmtp_io_t;
typedef struct {
|