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

VxWorks

开发平台:

C/C++

  1. /* ledLib.h - header file for ledLib.c */
  2. /* Copyright 1984-1992 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01e,22sep92,rrr  added support for c++
  7. 01d,04jul92,jcf  cleaned up.
  8. 01c,26may92,rrr  the tree shuffle
  9. 01b,04oct91,rrr  passed through the ansification filter
  10.   -fixed #else and #endif
  11.   -changed VOID to void
  12.   -changed copyright notice
  13. 01a,05oct90,shl created.
  14. */
  15. #ifndef __INCledLibh
  16. #define __INCledLibh
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. /* function declarations */
  21. #if defined(__STDC__) || defined(__cplusplus)
  22. extern STATUS  ledClose (int led_id);
  23. extern int  ledOpen (int inFd, int outFd, int histSize);
  24. extern int  ledRead (int led_id, char *string, int maxBytes);
  25. extern void  ledControl (int led_id, int inFd, int outFd, int histSize);
  26. #else /* __STDC__ */
  27. extern STATUS  ledClose ();
  28. extern int  ledOpen ();
  29. extern int  ledRead ();
  30. extern void  ledControl ();
  31. #endif /* __STDC__ */
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35. #endif /* __INCledLibh */