Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/ftp_put_buffer.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 26 by hirohitohigashi, Sat Feb 28 02:04:32 2009 UTC revision 27 by hirohitohigashi, Sat Feb 28 02:17:34 2009 UTC
# Line 37  Line 37 
37  /*! バッファからファイル送信  /*! バッファからファイル送信
38   *   *
39   *@param        ftp     LIBOFTPへのポインタ。   *@param        ftp     LIBOFTPへのポインタ。
  *@param        fname   サーバ上のファイル名  
40   *@param        buf     バッファへのポインタ   *@param        buf     バッファへのポインタ
41   *@param        bufsiz  バッファサイズ   *@param        bufsiz  バッファサイズ
42     *@param        fname   サーバ上のファイル名
43   *@retval       int     0: no error. -1: OS level error. -2: ftp protocol error. -3: buffer too small.   *@retval       int     0: no error. -1: OS level error. -2: ftp protocol error. -3: buffer too small.
44   *@note   *@note
45   */   */
46  int ftp_put_buffer( LIBOFTP *ftp, const char *fname, char *buf, int bufsiz )  int ftp_put_buffer( LIBOFTP *ftp, char *buf, int bufsiz, const char *fname )
47  {  {
48      int data_socket;      int data_socket;
49      char *p = buf;      char *p = buf;

Legend:
Removed from v.26  
changed lines
  Added in v.27

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26