Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/liboftp.h

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

revision 32 by hirohitohigashi, Sat Feb 28 15:03:18 2009 UTC revision 52 by hirohitohigashi, Wed Mar 24 07:25:48 2010 UTC
# Line 28  Line 28 
28    
29    
30  /***** Macros ***************************************************************/  /***** Macros ***************************************************************/
31    
32    #ifdef __cplusplus
33    extern "C" {
34    #endif
35    
36  /***** Typedefs *************************************************************/  /***** Typedefs *************************************************************/
37  typedef struct  typedef struct
38  {  {
# Line 53  int ftp_passive( LIBOFTP *ftp, int flag Line 58  int ftp_passive( LIBOFTP *ftp, int flag
58  int ftp_timeout( LIBOFTP *ftp, int sec );  int ftp_timeout( LIBOFTP *ftp, int sec );
59  int ftp_type( LIBOFTP *ftp, const char *type );  int ftp_type( LIBOFTP *ftp, const char *type );
60  int ftp_quit( LIBOFTP *ftp );  int ftp_quit( LIBOFTP *ftp );
61    int ftp_reset( LIBOFTP *ftp );
62  int ftp_site( LIBOFTP *ftp, const char *cmdline );  int ftp_site( LIBOFTP *ftp, const char *cmdline );
63  int ftp_delete( LIBOFTP *ftp, const char *fname );  int ftp_delete( LIBOFTP *ftp, const char *fname );
64  int ftp_rename( LIBOFTP *ftp, const char *from, const char *to );  int ftp_rename( LIBOFTP *ftp, const char *from, const char *to );
65    
66  int ftp_get_buffer( LIBOFTP *ftp, const char *fname, char *buf, int bufsiz );  int ftp_get_buffer( LIBOFTP *ftp, const char *fname, char *buf, int bufsiz );
67  int ftp_put_buffer( LIBOFTP *ftp, char *buf, int bufsiz, const char *fname );  int ftp_put_buffer( LIBOFTP *ftp, const char *buf, int bufsiz, const char *fname );
68  int ftp_append_buffer( LIBOFTP *ftp, char *buf, int bufsiz, const char *fname );  int ftp_append_buffer( LIBOFTP *ftp, const char *buf, int bufsiz, const char *fname );
69  int ftp_get_file( LIBOFTP *ftp, const char *fname, const char *local_fname );  int ftp_get_file( LIBOFTP *ftp, const char *fname, const char *local_fname );
70  int ftp_put_file( LIBOFTP *ftp, const char *local_fname, const char *fname );  int ftp_put_file( LIBOFTP *ftp, const char *local_fname, const char *fname );
71  int ftp_append_file( LIBOFTP *ftp, const char *local_fname, const char *fname );  int ftp_append_file( LIBOFTP *ftp, const char *local_fname, const char *fname );
# Line 82  int ftp_cd( LIBOFTP *ftp, const char *di Line 88  int ftp_cd( LIBOFTP *ftp, const char *di
88  /***** Inline functions *****************************************************/  /***** Inline functions *****************************************************/
89    
90    
91    #ifdef __cplusplus
92    }
93    #endif
94    
95  #endif  #endif

Legend:
Removed from v.32  
changed lines
  Added in v.52

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