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

VxWorks

开发平台:

C/C++

  1. /* wvUploadPathP.h - generic upload-path definition for windview */
  2. /* Copyright 1997 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01b,18dec97,cth  moved to private, renamed to wvUploadPathP.h, added comments
  7. 01a,16nov97,cth  written.
  8. */
  9. /*
  10. This file contains the definition of a structure that should make up the
  11. core of any upload-path id that can be passed to wvLib.  Windview uses a
  12. pointer to this type of structure to access the path's routines.
  13. */
  14. #ifndef __INCwvuploadpathph
  15. #define __INCwvuploadpathph
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. /* typedefs */
  20. typedef struct uploadPathDesc /* UPLOAD_DESC */
  21.     {
  22.     int (* writeRtn) (); /* write to the upload path */
  23.     int (* errorRtn) (); /* signal upload path that an error occurred */
  24.     } UPLOAD_DESC;
  25. typedef UPLOAD_DESC *UPLOAD_ID;
  26. #ifdef __cplusplus
  27. }
  28. #endif
  29. #endif /* __INCwvuploadpathph*/