📄 sta.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 + -