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

VxWorks

开发平台:

C/C++

  1. /* wvTsfsUploadPathLibP.h - tsfs event-upload mechanism library header */
  2. /* Copyright 1997 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01e,27jan98,cth  removed tsfsUploadPathError prototypes, SOSENDBUFSIZE
  7. 01d,18dec97,cth  renamed again to wvTsfsUploadPathLibP.h from, updated include,
  8.  wvTsfsUploadPathP.h, added tsfsUploadPathLibInit prototype 
  9. 01c,16nov97,cth  renamed again to wvTsfsUploadPathP.h from tsfsUploadPathP.h
  10. 01b,16nov97,cth  changed prototypes to match new WV2.0 upload-path model
  11.                  renamed to tsfsUploadPathP.h from evtTsfsSockLibP.h
  12. 01a,21aug97,cth  created, modified from evtSockLibP.h
  13. */
  14. #ifndef __INCwvtsfsuploadpathlibph
  15. #define __INCwvtsfsuploadpathlibph
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. #include "private/wvUploadPathP.h"
  20. #if defined(__STDC__) || defined(__cplusplus)
  21. extern STATUS  tsfsUploadPathLibInit (void);
  22. extern UPLOAD_ID tsfsUploadPathCreate (char *ipAddress, short port);
  23. extern void      tsfsUploadPathClose (UPLOAD_ID upId);
  24. extern int  tsfsUploadPathWrite (UPLOAD_ID upId, char * buffer, size_t bufSize);
  25. #else   /* __STDC__ */
  26. extern STATUS  tsfsUploadPathLibInit ();
  27. extern UPLOAD_ID tsfsUploadPathCreate ();
  28. extern void      tsfsUploadPathClose ();
  29. extern int       tsfsUploadPathWrite ();
  30. #endif  /* __STDC__ */
  31. #ifdef __cplusplus
  32. }
  33. #endif
  34. #endif /* __INCwvtsfsuploadpathlibph*/