📄 dhcpcstatelib.h
字号:
/* dhcpcStateLib.h - DHCP runtime client interface to state machine *//* Copyright 1984 - 2003 Wind River Systems, Inc. *//*modification history--------------------01j,05nov03,cdw Removal of unnecessary _KERNEL guards.01i,04nov03,rlm Ran batch header path update for header re-org.01h,03nov03,rlm Removed wrn/coreip/ prefix from #includes for header re-org.01g,10jun03,vvv include netVersion.h01f,12apr03,ijm fixed diab compiler warnings01e,13jun00,spm increased size of function pointer array for new state01d,24nov99,spm upgraded to RFC 2131 and removed direct link-level access01c,06oct97,spm added relative paths to #include statements01b,06aug97,spm added definitions for C++ compilation01a,03oct96,spm created by modifying WIDE project DHCP implementation*/#ifndef __INCdhcpcStateLibh#define __INCdhcpcStateLibh#ifdef __cplusplusextern "C" {#endif#include <netVersion.h>#include <dhcp/copyright_dhcp.h>/* DHCP client states */#define INIT 0#define WAIT_OFFER 1#define SELECTING 2#define REQUESTING 3#define BOUND 4#define RENEWING 5#define REBINDING 6#define INIT_REBOOT 7#define VERIFY 8#define REBOOTING 9#define VERIFYING 10#define INFORMING 11#define MAX_STATES INFORMING + 1IMPORT int (*fsm[MAX_STATES])();IMPORT STATUS dhcp_client_setup (int, int, int);IMPORT int dhcp_client (void *, BOOL);#ifdef __cplusplus}#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -