⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smtp.h

📁 smtp proxy source code!
💻 H
字号:
/*    File: smtp/smtp.h        Copyright (C) 1999 by Wolfgang Zekoll <wzk@quietsche-entchen.de>    This source is free software; you can redistribute it and/or modify    it under the terms of the GNU General Public License as published by    the Free Software Foundation; either version 1, or (at your option)    any later version.    This source is distributed in the hope that it will be useful,    but WITHOUT ANY WARRANTY; without even the implied warranty of    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    GNU General Public License for more details.    You should have received a copy of the GNU General Public License    along with this program; if not, write to the Free Software    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.*/#ifndef _SMTP_INCLUDED#define	_SMTP_INCLUDED#define	VERSION		"1.1.0"#define	SENDMAIL	"/usr/sbin/sendmail"#define	SMTP_TIMEOUT	300#define	SMTP_ACCEPTTIME	600extern char *program;extern char progname[80];extern int debug;#define	WAITING		1#define	MAIL_SEEN	2#define	RCPT_SEEN	3#define	DATA_SEEN	4#define	SEND_QUIT	5#define	NO_SENDMAIL	6typedef struct _config {    char	hostname[200];    int		etrn;    int		droppath;    int		timeout;    char	*senderlist;    char	*rcptlist;    char	server[200];    char	**argv;    char	clientdir[200];    int		accepttime;    } config_t;typedef struct _smtp {    config_t	*config;    char	hostname[200];    FILE	*sin, *sout;        char	ipnum[100];    char	client[300];    int		helloseen;    int		state;    int		mailcount;	/*	 * Mail-spezifische Daten	 */    char	sender[300];    int		nrcpt;    char	jobid[80];    char	msgid[200];    long	size;    } smtp_t;extern int proxy_request(config_t *config);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -