httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From soc-r...@apache.org
Subject svn commit: r378135 - in /httpd/mod_smtpd/trunk/src: mod_smtpd.h smtp_core.c
Date Thu, 16 Feb 2006 01:11:14 GMT
Author: soc-rian
Date: Wed Feb 15 17:11:12 2006
New Revision: 378135

URL: http://svn.apache.org/viewcvs?rev=378135&view=rev
Log:
added notes to session_rec and envelope_rec similar to request_rec in http.

Modified:
    httpd/mod_smtpd/trunk/src/mod_smtpd.h
    httpd/mod_smtpd/trunk/src/smtp_core.c

Modified: httpd/mod_smtpd/trunk/src/mod_smtpd.h
URL: http://svn.apache.org/viewcvs/httpd/mod_smtpd/trunk/src/mod_smtpd.h?rev=378135&r1=378134&r2=378135&view=diff
==============================================================================
--- httpd/mod_smtpd/trunk/src/mod_smtpd.h (original)
+++ httpd/mod_smtpd/trunk/src/mod_smtpd.h Wed Feb 15 17:11:12 2006
@@ -121,6 +121,9 @@
 
     /* notes on this envelope */
     struct ap_conf_vector_t *envelope_config;
+
+    /* notes from one module to another */
+    apr_table_t *envelope_notes;
 } smtpd_envelope_rec;
 
 typedef struct smtpd_session_rec {
@@ -149,6 +152,9 @@
 
     /* notes on this session */
     struct ap_conf_vector_t *session_config;
+    
+    /* notes from one module to another */
+    apr_table_t *session_notes;
 
     /* per command pool
        (cleared after every command) */

Modified: httpd/mod_smtpd/trunk/src/smtp_core.c
URL: http://svn.apache.org/viewcvs/httpd/mod_smtpd/trunk/src/smtp_core.c?rev=378135&r1=378134&r2=378135&view=diff
==============================================================================
--- httpd/mod_smtpd/trunk/src/smtp_core.c (original)
+++ httpd/mod_smtpd/trunk/src/smtp_core.c Wed Feb 15 17:11:12 2006
@@ -60,6 +60,7 @@
     str->rcpt_parameters = apr_table_make(str->p, 5);
     str->input_filters = scr->c->input_filters;
     str->envelope_config = ap_create_request_config(str->p);
+    scr->envelope_notes = apr_table_make(scr->p, 5);
 }
 
 /* private methods */
@@ -146,6 +147,8 @@
     scr->helo = apr_palloc(scr->p, 256);
 
     scr->session_config = ap_create_request_config(scr->p);
+
+    scr->session_notes = apr_table_make(scr->p, 5);
 
     apr_pool_create(&(scr->per_command_pool), scr->p);
 



Mime
View raw message