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

VxWorks

开发平台:

C/C++

  1. /* get_myaddr.h - header file for get_myaddr.c */
  2. /* Copyright 1984-1992 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01d,22sep92,rrr  added support for c++
  7. 01c,26may92,rrr  the tree shuffle
  8. 01b,04oct91,rrr  passed through the ansification filter
  9.   -fixed #else and #endif
  10.   -changed copyright notice
  11. 01a,05oct90,shl created.
  12. */
  13. #ifndef __INCget_myaddrh
  14. #define __INCget_myaddrh
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. /* function declarations */
  19. #if defined(__STDC__) || defined(__cplusplus)
  20. extern int       get_myaddress (struct sockaddr_in *addr);
  21. #else
  22. extern int       get_myaddress ();
  23. #endif /* __STDC__ */
  24. #ifdef __cplusplus
  25. }
  26. #endif
  27. #endif /* __INCget_myaddrh */