--- lmtp.h 2001/07/25 11:29:38 1.4
+++ lmtp.h 2001/07/25 15:02:57 1.5
@@ -11,7 +11,6 @@
typedef struct lmtp_st lmtp_t;
typedef struct {
- int (*select)(int nfds, fd_set *rfds, fd_set *wrfds, fd_set *efds, struct timeval *t);
ssize_t (*read) (int fd, void *buf, size_t nbytes);
ssize_t (*write) (int fd, const void *buf, size_t nbytes);
} lmtp_io_t;
@@ -27,12 +26,6 @@
char *statusmsg; /* message with >=0*NLs, not terminating with NL. NUL */
} lmtp_res_t;
-struct lmtp_msg_st {
- struct lmtp_msg_st *next;
- char *msg;
-};
-typedef struct lmtp_msg_st lmtp_msg_t;
-
typedef enum {
LMTP_OK,
LMTP_EOF, /* eof */
@@ -51,8 +44,6 @@
lmtp_rc_t lmtp_readmsg (lmtp_t *lmtp, char **buf, size_t maxlen);
lmtp_rc_t lmtp_request (lmtp_t *lmtp, lmtp_req_t *req);
lmtp_rc_t lmtp_response(lmtp_t *lmtp, lmtp_res_t *res);
-lmtp_msg_t *lmtp_message (lmtp_t *lmtp, char *verb);
-void lmtp_reset (lmtp_t *lmtp);
char *lmtp_error (lmtp_t *lmtp, lmtp_rc_t rc);
lmtp_rc_t lmtp_register(lmtp_t *lmtp, char *verb, lmtp_cb_t cb, void *ctx, lmtp_cb_t *oldcb, void **oldctx);
lmtp_rc_t lmtp_loop (lmtp_t *lmtp);
|