/* * 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: smtpsrv.h,v 1.4 2005/08/08 17:20:05 ca Exp $ */ #ifndef SMTPSRV_H #define SMTPSRV_H 1 #include "sm/generic.h" #if SMTPSRV_DEFINE #define EXTERN #else #define EXTERN extern #endif EXTERN bool Rpools; /* Array of listening sockets */ EXTERN ss_socket_ctx_T ss_sck_ctx[SS_MAX_BIND_ADDRS]; EXTERN pid_t My_pid; sm_ret_T ss_hdl_session(ss_sess_P _sess, sm_ret_T _sessok); sm_ret_T ss_sess_new(ss_ctx_P _ss_ctx, ss_sess_P *_pss_sess); sm_ret_T ss_sess_free(ss_sess_P _ss_sess); #undef EXTERN #endif /* SMTPSRV_H */