ossp-pkg/lmtp2nntp/lmtp2nntp_msg.h 1.5 -> 1.6
--- lmtp2nntp_msg.h 2002/05/23 09:37:15 1.5
+++ lmtp2nntp_msg.h 2002/05/27 15:09:50 1.6
@@ -30,7 +30,7 @@
#include <sys/types.h>
#include "l2.h"
-
+#include "val.h"
#include "lmtp2nntp_global.h"
typedef struct {
@@ -48,7 +48,8 @@
size_t asRcpt;
char *azNewsgroups;
size_t asNewsgroups;
- l2_channel_t *l2;
+ l2_channel_t *l2; /* logging context, inherited as a copy from parent */
+ val_t *prival; /* access to private application context */
} msg_t;
struct regex_ctx_st;
@@ -81,7 +82,7 @@
MSG_ERR_ARG
} msg_rc_t;
-msg_t *msg_create(void);
+msg_t *msg_create(val_t *);
msg_rc_t msg_split(msg_t *);
msg_rc_t msg_join(msg_t *);
void msg_destroy(msg_t *);
|
|