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

📄 sta.c

📁 TI公司的RTDX实时数据交换技术下位机实验代码
💻 C
字号:
/* bootLib.h - boot support subroutine library */

/* Copyright 1984-1993 Wind River Systems, Inc. */

/*
modification history
--------------------
01g,22sep92,rrr added support for c++.
01d,04oct91,rrr passed through the ansification filter,
-changed VOID to void
-changed copyright notice
*/

#ifndef _ _INCbootLibh
#define _ _INCbootLibh
#ifdef _ _cplusplus
extern "C" {
#endif 

/*
DESCRIPTION
BOOT_PARAMS is a structure containing all the fields of the VxWorks boot line. The routines in bootLib convert this structure to and from the boot line ASCII string....
INCLUDE FILES: fooLib.h
*/

/* includes */

#include "vxWorks.h"

/* defines */

#define BOOT_DEV_LEN 20 /* max chars in device name */
#define BOOT_HOST_LEN 20 /* max chars in host name */

/* typedefs */

typedef struct bootParams /* BOOT_PARAMS */
{
char bootDev [BOOT_DEV_LEN]; /* boot device code */
int flags; /* configuration flags */
} BOOT_PARAMS;

/* function declarations */

extern STATUS bootBpAnchorExtract (char * string, char ** pAnchorAdrs);
extern STATUS bootNetmaskExtract (char * string, int * pNetmask);

⌨️ 快捷键说明

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