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

VxWorks

开发平台:

C/C++

  1. /* wvSockUploadPathLibP.h - socket upload path library header */
  2. /* Copyright 1997 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01e,27jan98,cth  removed sockUploadPathError prototypes, SOSENDBUFSIZE, added
  7.  sockUpPathSendBufSize
  8. 01d,18dec97,cth  renamed again to wvSockUploadPathLibP.h from, updated include, 
  9.  wvSockUploadPathP.h, added sockUploadPathLibInit prototype
  10. 01c,16nov97,cth  renamed again from sockUploadPathP.h to wvSockUploadPathP.h
  11. 01b,16nov97,cth  changed prototypes to match WV2.0 upload-path model
  12.                  renamed from evtSockLibP.h to sockUploadPathP.h
  13. 01a,10dec93,smb  written.
  14. */
  15. #ifndef __INCwvsockuploadpathlibph
  16. #define __INCwvsockuploadpathlibph
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. #include "private/wvUploadPathP.h"
  21. /* variable declarations */
  22. extern int sockUpPathSendBufSize;
  23. /* function declarations */
  24. #if defined(__STDC__) || defined(__cplusplus)
  25. extern STATUS  sockUploadPathLibInit (void);
  26. extern UPLOAD_ID sockUploadPathCreate (char *ipAddress, short port);
  27. extern void      sockUploadPathClose (UPLOAD_ID upId);
  28. extern int     sockUploadPathWrite (UPLOAD_ID upId, char * pData, size_t size);
  29. #else   /* __STDC__ */
  30. extern STATUS  sockUploadPathLibInit ();
  31. extern UPLOAD_ID sockUploadPathCreate ();
  32. extern void      sockUploadPathClose ();
  33. extern int       sockUploadPathWrite ();
  34. #endif  /* __STDC__ */
  35. #ifdef __cplusplus
  36. }
  37. #endif
  38. #endif /* __INCwvsockuploadpathlibph*/