dial_dir.h

来自「通讯程序源码」· C头文件 代码 · 共 35 行

H
35
字号
/* * The dialing directory structure.  The first eight elements are * contained in the pcomm.dial_dir file. */#define NUM_DIR		100#define NUM_QUEUE	10#define FAST		0#define SLOW		1#define QUIET		0#define VERBOSE		1struct DIAL_DIR {	char	*name[NUM_DIR+1];	/* name of system being called */	char	*number[NUM_DIR+1];	/* phone number */	unsigned int	baud[NUM_DIR+1];/* baud rate */	char	parity[NUM_DIR+1];	/* parity */	int	data_bits[NUM_DIR+1];	/* data bits */	int	stop_bits[NUM_DIR+1];	/* stop bits */	char	duplex[NUM_DIR+1];	/* duplex (F = full, H = half) */	char	*aux[NUM_DIR+1];	/* auxiliary (script, TTY, or modem) */	int	q_num[NUM_QUEUE];	/* entry numbers in the queue */	char	q_ld[NUM_QUEUE];	/* LD codes in the queue */	int	d_entries;		/* number of entries in the file */	int	d_cur;			/* the current entry */	char	*d_path;		/* path to the pcomm.dial_dir file */};#ifndef MAINextern struct DIAL_DIR *dir;#endif /* MAIN */

⌨️ 快捷键说明

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