/*
* Copyright (c) 2004 Sendmail, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
* forth in the LICENSE file which can be found at the top level of
* the sendmail distribution.
*
* $Id: smtps-str.h,v 1.2 2005/10/07 22:59:55 ca Exp $
*/
#ifndef SMTPS_STR_H
#define SMTPS_STR_H 1
#include "sm/generic.h"
/* SMTP server context */
typedef struct ss_ctx_S ss_ctx_T, *ss_ctx_P;
/* session context */
typedef struct ss_sess_S ss_sess_T, *ss_sess_P;
/* transcation context */
typedef struct ss_ta_S ss_ta_T, *ss_ta_P;
/* server communication context (with QMGR, SMAR, milter) */
typedef struct s2q_ctx_S s2q_ctx_T, *s2q_ctx_P;
/*
** With how many external "servers" will smtps talk?
** Currently there are: qmgr, smar, libpmilter
*/
#define SS_MAX_COMM_SRVS 3
#define SS_COMM_QMGR 0
#define SS_COMM_SMAR 1
#define SS_COMM_PMILTER 2
#endif /* SMTPS_STR_H */
syntax highlighted by Code2HTML, v. 0.9.1