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

VxWorks

开发平台:

C/C++

  1. /* rpcnetdb.h - definitions for rpc */
  2. /* Copyright 1984-1992 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01f,22sep92,rrr  added support for c++
  7. 01e,26may92,rrr  the tree shuffle
  8. 01d,04oct91,rrr  passed through the ansification filter
  9.   -fixed #else and #endif
  10.   -changed copyright notice
  11. 01c,05oct90,shl  added copyright notice.
  12. 01b,27oct89,hjb  added modification history and #ifndef's to avoid multiple
  13.  inclusion.
  14. */
  15. #ifndef __INCrpcnetdbh
  16. #define __INCrpcnetdbh
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. struct rpcent {
  21. char *r_name; /* name of server for this rpc program */
  22. char **r_aliases; /* alias list */
  23. int r_number; /* rpc program number */
  24. };
  25. struct rpcent *getrpcbyname(), *getrpcbynumber(), *getrpcent();
  26. #ifdef __cplusplus
  27. }
  28. #endif
  29. #endif /* __INCrpcnetdbh */