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

📄 smtp.h

📁 这是一个同样来自贝尔实验室的和UNIX有着渊源的操作系统, 其简洁的设计和实现易于我们学习和理解
💻 H
字号:
typedef struct Node Node;typedef struct Field Field;typedef Node *Nodeptr;#define YYSTYPE Nodeptrstruct Node {	Node	*next;	int	c;	/* token type */	char	addr;	/* true if this is an address */	String	*s;	/* string representing token */	String	*white;	/* white space following token */	char	*start;	/* first byte for this token */	char	*end;	/* next byte in input */};struct Field {	Field	*next;	Node	*node;	int	source;};typedef struct DS	DS;struct DS {	/* dist string */	char	buf[128];	char	expand[128];	char	*netdir;	char	*proto;	char	*host;	char	*service;};extern Field	*firstfield;extern Field	*lastfield;extern Node	*usender;extern Node	*usys;extern Node	*udate;extern int	originator;extern int	destination;extern int	date;extern int	messageid;Node*	anonymous(Node*);Node*	address(Node*);int	badfieldname(Node*);Node*	bang(Node*, Node*);Node*	colon(Node*, Node*);int	cistrcmp(char*, char*);Node*	link2(Node*, Node*);Node*	link3(Node*, Node*, Node*);void	freenode(Node*);void	newfield(Node*, int);void	freefield(Field*);void	yyinit(char*, int);int	yyparse(void);int	yylex(void);String*	yywhite(void);Node*	whiten(Node*);void	yycleanup(void);int	mxdial(char*, char*, char*);void	dial_string_parse(char*, DS*);

⌨️ 快捷键说明

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