OSSP CVS Repository

ossp - Difference in ossp-pkg/lmtp2nntp/lmtp.h versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/lmtp2nntp/lmtp.h 1.2 -> 1.3

--- lmtp.h       2001/07/23 12:14:06     1.2
+++ lmtp.h       2001/07/24 11:32:07     1.3
@@ -38,12 +38,12 @@
     LMTP_ERR_UNKNOWN    /* guru meditation */
 } lmtp_rc_t;
 
-typedef lmtp_rc_t (*lmtp_cb_t)(lmtp_io_t *io, lmtp_req_t *req, lmtp_res_t *res, void *ctx);
+typedef lmtp_rc_t (*lmtp_cb_t)(lmtp_t *lmtp, lmtp_io_t *io, lmtp_req_t *req, void *ctx);
 
 lmtp_t     *lmtp_create  (int rfd, int wfd, lmtp_io_t *io);
 void        lmtp_destroy (lmtp_t *lmtp);
 lmtp_rc_t   lmtp_readline(lmtp_t *lmtp, char *buf, size_t buflen);
-lmtp_rc_t   lmtp_readmsg (lmtp_t *lmtp, char *buf, size_t buflen);
+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);
 char      **lmtp_message (lmtp_t *lmtp, char *verb);

CVSTrac 2.0.1