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

VxWorks

开发平台:

C/C++

  1. /* distNodeLib - distributed objects node library header (VxFusion) */
  2. /* Copyright 1999 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01c,24may99,drm  adding vxfusion prefix to VxFusion related includes
  7. 01b,10nov98,drm  added defines for node-related control parameters
  8. 01a,21oct97,ur   written.
  9. */
  10. #ifndef __INCdistNodeLibh
  11. #define __INCdistNodeLibh
  12. /* includes */
  13. #include "vxWorks.h"
  14. #include "vxfusion/distLib.h"
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif /* __cplusplus */
  18. /* defines */
  19. /* Node-related control function codes */
  20. #define DIST_CTL_TYPE_NODE                  DIST_ID_NODE_LIB
  21. #define DIST_CTL_OPERATIONAL_HOOK           ((0 << 8) | DIST_CTL_TYPE_NODE)
  22. #define DIST_CTL_CRASHED_HOOK               ((1 << 8) | DIST_CTL_TYPE_NODE)
  23. #define DIST_CTL_GET_LOCAL_ID               ((2 << 8) | DIST_CTL_TYPE_NODE)
  24. #define DIST_CTL_GET_LOCAL_STATE            ((3 << 8) | DIST_CTL_TYPE_NODE)
  25. #define DIST_CTL_RETRY_TIMEOUT              ((4 << 8) | DIST_CTL_TYPE_NODE)
  26. #define DIST_CTL_MAX_RETRIES                ((5 << 8) | DIST_CTL_TYPE_NODE)
  27. #define DIST_CTL_NACK_SUPPORT               ((6 << 8) | DIST_CTL_TYPE_NODE)
  28. #define DIST_CTL_PGGYBAK_UNICST_SUPPORT     ((7 << 8) | DIST_CTL_TYPE_NODE)
  29. #define DIST_CTL_PGGYBAK_BRDCST_SUPPORT     ((8 << 8) | DIST_CTL_TYPE_NODE)
  30. #ifdef __cplusplus
  31. }
  32. #endif /* __cplusplus */
  33. #endif  /* __INCdistNodeLibh */