Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /tags/REL-2.2/ftp_get_buffer.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 40 - (hide annotations) (download) (as text)
Mon Mar 2 05:17:04 2009 UTC (15 years, 1 month ago) by hirohitohigashi
Original Path: trunk/ftp_get_buffer.c
File MIME type: text/x-csrc
File size: 1754 byte(s)
Merged same process.

1 hirohitohigashi 17 /*
2     liboftp: this is an FTP library to simplify the work to a Developer
3     who want to work with FTP servers (RFC 959).
4    
5     Copyright (c) 2009 hirohito higashi. All rights reserved.
6     This file is distributed under BSD license.
7     */
8    
9    
10     /***** Feature test switches ************************************************/
11     /***** System headers *******************************************************/
12     /***** Local headers ********************************************************/
13     #include "liboftp.h"
14     #include "sub.h"
15    
16    
17     /***** Constat values *******************************************************/
18    
19    
20     /***** Macros ***************************************************************/
21     /***** Typedefs *************************************************************/
22     /***** Function prototypes **************************************************/
23     /***** Local variables ******************************************************/
24     /***** Global variables *****************************************************/
25     /***** Signal catching functions ********************************************/
26     /***** Local functions ******************************************************/
27     /***** Global functions *****************************************************/
28    
29     /****************************************************************************/
30     /*! ���������������������������������
31     *
32     *@param ftp LIBOFTP���������������������
33     *@param fname ������������������������������
34     *@param buf ������������������������������
35     *@param bufsiz ���������������������
36 hirohitohigashi 34 *@retval int ������������������������������������������������������������������
37 hirohitohigashi 17 *@note
38     */
39     int ftp_get_buffer( LIBOFTP *ftp, const char *fname, char *buf, int bufsiz )
40     {
41 hirohitohigashi 40 return ftp_get_buffer_main( ftp, "RETR", fname, buf, bufsiz );
42 hirohitohigashi 17 }

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