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

VxWorks

开发平台:

C/C++

  1. /* wvFileUploadPathLibP.h - file upload path header */
  2. /* Copyright 1997 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01c,27jan98,cth  added openFlags arg to create call, fileUpPathDefaultPerm
  7. 01b,18dec97,cth  renamed to wvFileUploadPathLibP.h from wvFileUploadPathP.h,
  8.  added fileUploadPathLibInit prototype, updated include
  9. 01a,16nov97,cth  written, taken from evtSockLibP.h
  10. */
  11. #ifndef __INCwvfileuploadpathlibph
  12. #define __INCwvfileuploadpathlibph
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. #include "private/wvUploadPathP.h"
  17. /* variable declarations */
  18. extern int fileUpPathDefaultPerm;
  19. /* function declarations */
  20. #if defined(__STDC__) || defined(__cplusplus)
  21. extern STATUS   fileUploadPathLibInit (void);
  22. extern UPLOAD_ID fileUploadPathCreate (char *fname, int openFlags);
  23. extern void      fileUploadPathClose (UPLOAD_ID upId);
  24. extern int     fileUploadPathWrite (UPLOAD_ID upId, char * pData, size_t size);
  25. #else   /* __STDC__ */
  26. extern STATUS   fileUploadPathLibInit ();
  27. extern UPLOAD_ID fileUploadPathCreate ();
  28. extern void      fileUploadPathClose ();
  29. extern int       fileUploadPathWrite ();
  30. #endif  /* __STDC__ */
  31. #ifdef __cplusplus
  32. }
  33. #endif
  34. #endif /* __INCwvfileuploadpathlibph*/