confile.h

来自「mcf5307实验源代码」· C头文件 代码 · 共 91 行

H
91
字号
/****************************************************************************/
/*                                                                          */
/*      Copyright (c) 1993 - 1996 by Accelerated Technology, Inc.           */
/*                                                                          */
/* PROPRIETARY RIGHTS of Accelerated Technology are involved in the subject */
/* matter of this material.  All manufacturing, reproduction, use and sales */
/* rights pertaining to this subject matter are governed by the license     */
/* agreement.  The recipient of this software implicity accepts the terms   */
/* of the license.                                                          */
/*                                                                          */
/****************************************************************************/
/****************************************************************************/
/*                                                                          */
/* FILENAME                                                 VERSION         */
/*                                                                          */
/*      confile.h                                             3.2           */
/*                                                                          */
/* DESCRIPTION                                                              */
/*                                                                          */
/*      This include file will hold the config.tel options and defines.     */
/*                                                                          */
/* AUTHOR                                                                   */
/*                                                                          */
/*      Craig L. Meredith, Accelerated Technology Inc.                      */
/*                                                                          */
/* DATA STRUCTURES                                                          */
/*                                                                          */
/*  global compenent data stuctures defined in this file                    */
/*                                                                          */
/* FUNCTIONS                                                                */
/*                                                                          */
/*      No functions defined in this file                                   */
/*                                                                          */
/* DEPENDENCIES                                                             */
/*                                                                          */
/*      No other file dependencies                                          */
/*                                                                          */
/* HISTORY                                                                  */
/*                                                                          */
/*      NAME                            DATE            REMARKS             */
/*                                                                          */
/*      Craig L. Meredith       04/10/93        Initial version.            */
/*      Craig L. Meredith       08/17/92        Added headers, Neil's mods. */
/*                                                                          */
/****************************************************************************/

#ifndef CONFILE_H
#define CONFILE_H

#include "target.h"

/*
*	Global Variables
*/
/* Initial configuration.  struct config found in hostform.h */
extern struct config Scon;


/*
*   States for config file reading state machine.
*   One for each type of keyword and some for controlling.
*/

#define CONHOST		102
#define CONIP		103
#define CONGATE		104
#define CONRETR		108
#define CONWIND		109
#define CONSEG		110
#define CONMTU		111
#define CONNS		112
#define CONTO		113
#define CONDUP  	115
#define CONPORT 	129

#define NUMSPECS 132    /* last CON option for a machine specific option */

/*
*  above this line are per machine entries, below are configuration entries
*/

extern struct machinfo *Smachlist, *Smptr;

extern struct machinfo *Sns;

extern uchar Sflags [];    /* which parms we have or have not */

extern sint mno;

#endif  /* CONFILE_H */

⌨️ 快捷键说明

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