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

VxWorks

开发平台:

C/C++

  1. /* spyLib.h - header file for spyLib.c */
  2. /* Copyright 1984-1995 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 02c,27may95,p_m  added spyLibInit() and allow decoupling of the result printing.
  7. 02b,22sep92,rrr  added support for c++
  8. 02a,04jul92,jcf  cleaned up.
  9. 01c,26may92,rrr  the tree shuffle
  10. 01b,04oct91,rrr  passed through the ansification filter
  11.   -fixed #else and #endif
  12.   -changed VOID to void
  13.   -changed copyright notice
  14. 01a,05oct90,shl created.
  15. */
  16. #ifndef __INCspyLibh
  17. #define __INCspyLibh
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21. /* function declarations */
  22. #if defined(__STDC__) || defined(__cplusplus)
  23. extern void  spyLibInit (void);
  24. extern STATUS  spyClkStartCommon (int intsPerSec, FUNCPTR printRtn);
  25. extern void  spyCommon (int freq, int ticksPerSec, FUNCPTR printRtn);
  26. extern void  spyClkStopCommon (void);
  27. extern void  spyReportCommon (FUNCPTR printRtn);
  28. extern void  spyStopCommon (void);
  29. extern void  spyComTask (int freq, FUNCPTR printRtn);
  30. #else /* __STDC__ */
  31. extern void  spyLibInit ();
  32. extern STATUS  spyClkStartCommon ();
  33. extern void  spyCommon ();
  34. extern void  spyClkStopCommon ();
  35. extern void  spyReportCommon ();
  36. extern void  spyStopCommon ();
  37. extern void  spyComTask ();
  38. #endif /* __STDC__ */
  39. #ifdef __cplusplus
  40. }
  41. #endif
  42. #endif /* __INCspyLibh */