Index: ossp-pkg/lmtp2nntp/lmtp2nntp_msg.c RCS File: /v/ossp/cvs/ossp-pkg/lmtp2nntp/lmtp2nntp_msg.c,v rcsdiff -q -kk '-r1.10' '-r1.11' -u '/v/ossp/cvs/ossp-pkg/lmtp2nntp/lmtp2nntp_msg.c,v' 2>/dev/null --- lmtp2nntp_msg.c 2002/04/25 09:14:28 1.10 +++ lmtp2nntp_msg.c 2002/05/23 08:35:12 1.11 @@ -532,15 +532,6 @@ return (headerdata_t *)hdNew; } -struct regex_ctx_st; //FIXME go into a header! -typedef struct regex_ctx_st regex_ctx_t; -struct regex_ctx_st { - int nMatch; - const char **acpMatch; - l2_env_t *l2_env; - l2_channel_t *l2; -}; - static var_rc_t regex_lookup( var_t *var, void *_ctx, const char *var_ptr, size_t var_len, int var_idx, Index: ossp-pkg/lmtp2nntp/lmtp2nntp_msg.h RCS File: /v/ossp/cvs/ossp-pkg/lmtp2nntp/lmtp2nntp_msg.h,v rcsdiff -q -kk '-r1.3' '-r1.4' -u '/v/ossp/cvs/ossp-pkg/lmtp2nntp/lmtp2nntp_msg.h,v' 2>/dev/null --- lmtp2nntp_msg.h 2002/02/20 15:42:26 1.3 +++ lmtp2nntp_msg.h 2002/05/23 08:35:12 1.4 @@ -51,6 +51,15 @@ l2_channel_t *l2; } msg_t; +struct regex_ctx_st; +typedef struct regex_ctx_st regex_ctx_t; +struct regex_ctx_st { + int nMatch; + const char **acpMatch; + l2_env_t *l2_env; + l2_channel_t *l2; +}; + #define WRAPAT 120 /* join wraps header lines when exceeding this value */ #define WRAPUSING "\n " /* join inserts this value when wrapping lines */