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 23 by hirohitohigashi, Fri Feb 27 14:32:54 2009 UTC revision 28 by hirohitohigashi, Sat Feb 28 04:14:38 2009 UTC
# Line 37  typedef struct Line 37  typedef struct
37    
38  /***** Global variables *****************************************************/  /***** Global variables *****************************************************/
39  /***** Function prototypes **************************************************/  /***** Function prototypes **************************************************/
40  int ftp_connect( LIBOFTP *ftp, const char *host, int port );  int ftp_open( LIBOFTP *ftp, const char *host, int port );
41  int ftp_auth( LIBOFTP *ftp, const char *user, const char *pass );  int ftp_user( LIBOFTP *ftp, const char *user, const char *pass );
42  int ftp_passive( LIBOFTP *ftp, int flag );  int ftp_passive( LIBOFTP *ftp, int flag );
43  int ftp_type( LIBOFTP *ftp, const char *type );  int ftp_type( LIBOFTP *ftp, const char *type );
44  int ftp_quit( LIBOFTP *ftp );  int ftp_quit( LIBOFTP *ftp );
 int ftp_get_buffer( LIBOFTP *ftp, const char *fname, char *buf, int bufsiz );  
 int ftp_put_buffer( LIBOFTP *ftp, const char *fname, char *buf, int bufsiz );  
 int ftp_append_buffer( LIBOFTP *ftp, const char *fname, char *buf, int bufsiz );  
 int ftp_delete( LIBOFTP *ftp, const char *fname );  
45  int ftp_site( LIBOFTP *ftp, const char *cmdline );  int ftp_site( LIBOFTP *ftp, const char *cmdline );
46    int ftp_delete( LIBOFTP *ftp, const char *fname );
47    int ftp_rename( LIBOFTP *ftp, const char *from, const char *to );
48    
49    int ftp_get_buffer( LIBOFTP *ftp, const char *fname, char *buf, int bufsiz );
50    int ftp_put_buffer( LIBOFTP *ftp, char *buf, int bufsiz, const char *fname );
51    int ftp_append_buffer( LIBOFTP *ftp, char *buf, int bufsiz, const char *fname );
52    int ftp_get_file( LIBOFTP *ftp, const char *fname, const char *local_fname );
53    int ftp_put_file( LIBOFTP *ftp, const char *local_fname, const char *fname );
54    int ftp_append_file( LIBOFTP *ftp, const char *local_fname, const char *fname );
55    
56    int ftp_list( LIBOFTP *ftp, const char *fglob, char *buf, int bufsiz );
57    int ftp_nlist( LIBOFTP *ftp, const char *fglob, char *buf, int bufsiz );
58  int ftp_mkdir( LIBOFTP *ftp, const char *dirname );  int ftp_mkdir( LIBOFTP *ftp, const char *dirname );
59  int ftp_rmdir( LIBOFTP *ftp, const char *dirname );  int ftp_rmdir( LIBOFTP *ftp, const char *dirname );
60  int ftp_pwd( LIBOFTP *ftp, char *buf, int bufsiz );  int ftp_pwd( LIBOFTP *ftp, char *buf, int bufsiz );

Legend:
Removed from v.23  
changed lines
  Added in v.28

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