~ubuntu-branches/ubuntu/hoary/postfix/hoary-security

« back to all changes in this revision

Viewing changes to src/smtpd/smtpd.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-10-06 11:50:33 UTC
  • Revision ID: james.westby@ubuntu.com-20041006115033-9oky44ylqmhjy7eq
Tags: 2.1.3-1ubuntu17
* Deliver man pages for master.cf services in section 8postfix.
  Remove smtpd.8.gz diversion. Closes: #274777
* Clean up postfix-mysql documentation (created README.Debian files).
  Closes: Warty#2022
* Fix typo in postmap man page.  Closes: #271369

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
  * Global library.
33
33
  */
34
34
#include <mail_stream.h>
 
35
#ifdef USE_TLS
 
36
#include <pfixtls.h>
 
37
#endif
35
38
 
36
39
 /*
37
40
  * Variables that keep track of conversation state. There is only one SMTP
62
65
    time_t  time;                       /* start of MAIL FROM transaction */
63
66
    char   *name;                       /* client hostname */
64
67
    char   *addr;                       /* client host address string */
 
68
    char   *addr_tag;                   /* address family prefix */
65
69
    char   *namaddr;                    /* combined name and address */
66
70
    int     peer_code;                  /* 2=ok, 4=soft, 5=hard */
67
71
    int     error_count;                /* reset after DOT */
136
140
     * XFORWARD server state.
137
141
     */
138
142
    SMTPD_XFORWARD_ATTR xforward;       /* up-stream logging info */
 
143
#ifdef USE_TLS
 
144
    int     tls_active;
 
145
    int     tls_use_tls;
 
146
    int     tls_enforce_tls;
 
147
    int     tls_auth_only;
 
148
    tls_info_t tls_info;
 
149
#endif
139
150
} SMTPD_STATE;
140
151
 
141
152
#define SMTPD_STATE_XFORWARD_INIT  (1<<0)       /* xforward preset done */