📄 wvtsfsuploadpathlib.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/wvTsfsUploadPathLib.html - generated by refgen from wvTsfsUploadPathLib.c --> <title> wvTsfsUploadPathLib </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>VxWorks Reference Manual : Libraries</i></a></p></blockquote><h1>wvTsfsUploadPathLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wvTsfsUploadPathLib</strong> - target host connection library using TSFS </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./wvTsfsUploadPathLib.html#tsfsUploadPathLibInit">tsfsUploadPathLibInit</a></i>( )</b> - initialize <b><a href="./wvTsfsUploadPathLib.html#top">wvTsfsUploadPathLib</a></b> library (Windview)<br><b><i><a href="./wvTsfsUploadPathLib.html#tsfsUploadPathCreate">tsfsUploadPathCreate</a></i>( )</b> - open an upload path to the host using a TSFS socket (Windview)<br><b><i><a href="./wvTsfsUploadPathLib.html#tsfsUploadPathClose">tsfsUploadPathClose</a></i>( )</b> - close the TSFS-socket upload path (Windview)<br><b><i><a href="./wvTsfsUploadPathLib.html#tsfsUploadPathWrite">tsfsUploadPathWrite</a></i>( )</b> - write to the TSFS upload path (Windview)<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library contains routines that are used by <b><a href="./wvLib.html#top">wvLib</a></b> to transfer eventdata from the target to the host. This transfer mechanism uses the socketfunctionality of the Target Server File System (TSFS), and can therefore beused without including any socket or network facilities within the target.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wvTsfsUploadPathLib.html#top">wvTsfsUploadPathLib</a></b>, <b><a href="./wvSockUploadPathLib.html#top">wvSockUploadPathLib</a></b>, <b><a href="./wvFileUploadPathLib.html#top">wvFileUploadPathLib</a></b><hr><a name="tsfsUploadPathLibInit"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>tsfsUploadPathLibInit</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>tsfsUploadPathLibInit</i>( )</strong> - initialize <b><a href="./wvTsfsUploadPathLib.html#top">wvTsfsUploadPathLib</a></b> library (Windview)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS tsfsUploadPathLibInit (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine initializes <b><a href="./wvTsfsUploadPathLib.html#top">wvTsfsUploadPathLib</a></b> by pulling in theroutines in this file for use with WindView. It is called during systemconfiguration from <b>usrWindview.c</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wvTsfsUploadPathLib.html#top">wvTsfsUploadPathLib</a></b><hr><a name="tsfsUploadPathCreate"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>tsfsUploadPathCreate</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>tsfsUploadPathCreate</i>( )</strong> - open an upload path to the host using a TSFS socket (Windview)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>UPLOAD_ID tsfsUploadPathCreate ( char * ipAddress, /* server's IP address in .-notation */ short port /* port number to bind to */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine opens a TSFS socket to the host to be used for uploadingevent data. After successfully establishing this connection, an <b>UPLOAD_ID</b> is returned which points to the <b>TSFS_UPLOAD_DESC</b> that is passed to <b><i><a href="./ioLib.html#open">open</a></i>( )</b>, <b><i><a href="./ioLib.html#close">close</a></i>( )</b>, <b><i><a href="./ioLib.html#read">read</a></i>( )</b>, etc. for future operations.<p></blockquote><h4>RETURNS</h4><blockquote><p>The <b>UPLOAD_ID</b>, or NULL if the connection cannot be completed or not enough memory is available.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wvTsfsUploadPathLib.html#top">wvTsfsUploadPathLib</a></b>, <b><i><a href="./wvTsfsUploadPathLib.html#tsfsUploadPathClose">tsfsUploadPathClose</a></i>( )</b><hr><a name="tsfsUploadPathClose"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>tsfsUploadPathClose</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>tsfsUploadPathClose</i>( )</strong> - close the TSFS-socket upload path (Windview)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void tsfsUploadPathClose ( UPLOAD_ID upId /* generic upload-path descriptor */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine closes the TSFS-socket connection to the event receiver on the host.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wvTsfsUploadPathLib.html#top">wvTsfsUploadPathLib</a></b>, <b><i><a href="./wvTsfsUploadPathLib.html#tsfsUploadPathCreate">tsfsUploadPathCreate</a></i>( )</b><hr><a name="tsfsUploadPathWrite"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>tsfsUploadPathWrite</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>tsfsUploadPathWrite</i>( )</strong> - write to the TSFS upload path (Windview)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int tsfsUploadPathWrite ( UPLOAD_ID upId, /* generic upload-path descriptor */ char * pStart, /* address of data to write */ size_t size /* number of bytes of data at pStart */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine writes <i>size</i> bytes of data beginning at <i>pStart</i> to the uploadpath connecting the target with the host receiver.<p></blockquote><h4>RETURNS</h4><blockquote><p>The number of bytes written, or ERROR.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wvTsfsUploadPathLib.html#top">wvTsfsUploadPathLib</a></b>, <b><i><a href="./wvTsfsUploadPathLib.html#tsfsUploadPathCreate">tsfsUploadPathCreate</a></i>( )</b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -