dhcpcInit.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* dhcpcInit.h - DHCP runtime client include file for system startup */
  2. /* Copyright 1984 - 2001 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. ---------------------
  6. 01g,09oct01,rae  merge from truestack: update dhcpcConfigSet call
  7. 01f,24nov99,spm  upgraded to RFC 2131 and removed direct link-level access
  8. 01e,06aug97,spm  removed parameters linked list to reduce memory required;
  9.                  added definitions for C++ compilation; renamed class field
  10.                  of dhcp_reqspec structure to prevent C++ errors (SPR #9079)
  11. 01d,02jun97,spm  changed DHCP option tags to prevent name conflicts (SPR #8667)
  12. 01c,07apr97,spm  removed #define's now in configAll.h, changed router_solicit
  13.                  field in parameter descriptor from pointer to structure
  14. 01b,03jan97,spm  added little-endian support and moved macros to dhcp.h
  15. 01a,03oct96,spm  created by modifying WIDE project DHCP implementation
  16. */
  17. #ifndef __INCdhcpcInith
  18. #define __INCdhcpcInith
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22. #include "bootLib.h"
  23. /* Functions called at system startup. */
  24. IMPORT STATUS dhcpcShowInit (void);
  25. IMPORT STATUS dhcpcLibInit (int, int, int, int, int, int, int);
  26. IMPORT STATUS dhcpcLeaseGet (char *, BOOL *);
  27. IMPORT STATUS dhcpcConfigSet (BOOT_PARAMS *, char *, int *, BOOL * pDhcpStatus,
  28.                               BOOL configFlag);
  29. #ifdef __cplusplus
  30. }
  31. #endif
  32. #endif