OSSP CVS Repository

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

ossp-pkg/lmtp2nntp/msg.h 1.1 -> 1.2

--- msg.h        2001/08/13 06:41:41     1.1
+++ msg.h        2001/08/14 08:15:25     1.2
@@ -6,20 +6,20 @@
 
 typedef struct {
     char   *cpMsg;      /* the wholly message to be received by DATA command */
-    char   *cpHeaders;  /* header part of message above */
+    char   *azHeaders;  /* header part of message above */
+    size_t  asHeaders;
     char   *cpBody;     /* body part of message above */
     char   *cpMsgid;
     char   *mail_from;
     char   *azRcpt;
     size_t  asRcpt;
-    char   *azHeaders;
-    size_t  asHeaders;
-    char   *azBody;
-    size_t  asBody;
     char   *azNewsgroups;
     size_t  asNewsgroups;
 } msg_t;
 
+#define WRAPAT 120          /* join wraps header lines when exceeding this value */
+#define WRAPUSING "\n    "  /* join inserts this value when wrapping lines       */
+
 typedef enum {
     MSG_OK,
     MSG_ERR_MEM,

CVSTrac 2.0.1