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

VxWorks

开发平台:

C/C++

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