aboutsummaryrefslogtreecommitdiff
path: root/libftpconn
Commit message (Collapse)AuthorAgeFilesLines
* .Roland McGrath2002-06-111-0/+5
|
* 2002-06-08 Roland McGrath <roland@frob.com>Roland McGrath2002-06-111-1/+5
| | | | | * ftpconn.h (ftp_conn_add_stat_fun_t) [_FILE_OFFSET_BITS != 64]: Use struct stat64 in place of struct stat.
* .Roland McGrath2002-05-081-0/+5
|
* 2002-05-07 Roland McGrath <roland@frob.com>Roland McGrath2002-05-081-5/+4
| | | | | * xfer.c (ftp_conn_start_open_actv_data): size_t -> socklen_t (ftp_conn_finish_open_actv_data): Likewise.
* Fix grammatical error, argh!Marcus Brinkmann2002-04-201-1/+1
|
* ftpfs/Marcus Brinkmann2002-04-202-29/+99
| | | | | | | | | | | | | | | | | | | | | | 2002-04-13 Moritz Schulte <moritz@chaosdorf.de> * ftpfs.c: Include <sys/stat.h> (main): Stat the underlying node and initialize the root node's stat information. * dir.c (ftpfs_refresh_node): If refreshing the root node, simply use the old stat information. libftpconn/ 2002-04-13 Moritz Schulte <moritz@chaosdorf.de> * unix.c: Include <libgen.h>. (struct get_stats_state): New member: searched_name. (ftp_conn_unix_start_get_stats): Return EINVAL if trying to list the root node without listing it's content; set searched_name to the dirname. (ftp_conn_unix_cont_get_stats): If searching for the list info of one entry, skip all other entries.
* .Roland McGrath2001-12-221-0/+5
|
* 2001-12-22 Roland McGrath <roland@frob.com>Roland McGrath2001-12-221-6/+4
| | | | | * ftpconn.h (ftp_conn_validate_syshooks): Don't make this extern inline defn conditional on [__OPTIMIZE__].
* *** empty log message ***Thomas Bushnell1999-08-111-1/+1
|
* 1999-08-11 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-08-112-1/+8
| | | | | | * open.c (ftp_conn_open): Ignore error from ftp_conn_sysify; it's ok if we can't successfully deal. If we didn't sysify successfully before login, then try again afterwards.
* 1999-08-11 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-08-112-3/+8
| | | | * open.c (ftp_conn_sysify): Handle REPLY_NO_LOGIN from "syst".
* Add braces to silence gcc warnings.Roland McGrath1998-10-206-113/+149
|
* .Miles Bader1997-09-041-0/+4
|
* [!FTP_CONN_EI] (FTP_CONN_EI):Miles Bader1997-09-041-1/+7
| | | | | | | New macro. (ftp_conn_validate_syshooks): Use FTP_CONN_EI instead of `static inline'. Protect with __OPTIMIZE__.
* (ftp_conn_close):Miles Bader1997-09-041-3/+0
| | | | Don't cleanup CONN->actv_data_conn_queue.
* (ftp_conn_create):Miles Bader1997-09-041-1/+0
| | | | Don't initialize CONN->actv_data_conn_queue.
* .Miles Bader1997-09-041-0/+11
|
* (struct ftp_conn):Miles Bader1997-09-041-2/+0
| | | | Remove ACTV_DATA_CONN_QUEUE field.
* (ftp_conn_abort_open_actv_data):Miles Bader1997-09-041-67/+72
| | | | | | | | | Close the data queue socket. (ftp_conn_finish_open_actv_data): Close the listen queue after looking for a connection. (ftp_conn_start_open_actv_data): Always generate a new data connection (it doesn't work to always listen on a single address).
* .Miles Bader1997-09-021-0/+31
|
* (struct ftp_conn):Miles Bader1997-09-021-1/+7
| | | | | Add the ACTV_DATA_ADDR and ACTV_DATA_CONN_QUEUE fields. Add USE_PASSIVE field.
* (ftp_conn_close):Miles Bader1997-09-021-1/+4
| | | | | | Close CONN->actv_data_conn_queue if necessary. (ftp_conn_open): Set SIN_LEN field correctly.
* (ftp_conn_free):Miles Bader1997-09-021-0/+5
| | | | | | | Free the ACTV_DATA_ADDR field. (ftp_conn_create): Initialiaze the ACTV_DATA_ADDR & ACTV_DATA_CONN_QUEUE fields. Initialize USE_PASSIVE field.
* (ftp_conn_finish_open_data,Miles Bader1997-09-021-15/+161
| | | | | | | | | | | ftp_conn_start_open_actv_data, ftp_conn_finish_open_actv_data): New functions. (ftp_conn_start_open_data): Renamed from ftp_conn_open_data. Use an active data connection if passive doesn't work. (ftp_conn_start_transfer): Use ftp_conn_start_open_data and ftp_conn_finish_open_data instead of ftp_conn_open_data.
* .Miles Bader1997-08-191-0/+4
|
* (ftp_conn_create):Miles Bader1997-08-191-0/+1
| | | | Initialize the SYSHOOKS_VALID field.
* .Miles Bader1997-08-181-0/+11
|
* (ftp_conn_set_type):Miles Bader1997-08-181-10/+11
| | | | | If there's no connection, don't open a new one, just save the type for later.
* (ftp_conn_sysify):Miles Bader1997-08-181-0/+1
| | | | Set SYSHOOKS_VALID.
* (struct ftp_conn):Miles Bader1997-08-181-0/+13
| | | | | | Add SYSHOOKS_VALID field. (ftp_conn_validate_syshooks): New inline function.
* (ftp_conn_append_name, ftp_conn_basename):Miles Bader1997-08-181-2/+9
| | | | Make sure CONN's SYSHOOKS field is valid before using it.
* .Miles Bader1997-08-091-0/+7
|
* (ftp_conn_unix_cont_get_stats):Miles Bader1997-08-091-0/+7
| | | | Check for interrupts.
* (ftp_conn_getline):Miles Bader1997-08-091-0/+4
| | | | Check for interrupts.
* (ftp_conn_cont_get_names):Miles Bader1997-08-091-0/+7
| | | | Check for interrupts.
* (struct ftp_conn_hooks):Miles Bader1997-08-091-0/+5
| | | | Add INTERRUPT_CHECK field.
* .Miles Bader1997-08-081-0/+27
|
* (SRCS):Miles Bader1997-08-081-1/+1
| | | | Add fname.c
* (ftp_conn_cont_get_names):Miles Bader1997-08-081-20/+3
| | | | | | | | | Use BASENAME hook instead of FIX_NLIST_NAME. Don't free DIR field. (ftp_conn_start_get_names): Don't set DIR field. (struct get_names_state): Remove DIR field.
* (ftp_conn_rmt_transfer):Miles Bader1997-08-081-1/+3
| | | | | If we get an error, close SRC_CONN instead of aborting it, to avoid problems with some ftp servers.
* (struct ftp_conn_syshooks):Miles Bader1997-08-081-11/+32
| | | | | | | | | | Add APPEND_NAME and BASENAME fields; remove FIX_NLIST_NAME field. (ftp_conn_unix_fix_nlist_name): Declaration removed. (ftp_conn_unix_append_name, ftp_conn_unix_basename): New declarations. (ftp_conn_append_name, ftp_conn_basename): New declarations.
* (ftp_conn_create):Miles Bader1997-08-081-4/+0
| | | | Don't open the connection here.
* (ftp_conn_unix_cont_get_stats):Miles Bader1997-08-081-13/+39
| | | | | | | | | | | Pass only directory-relative names to the callback function. (struct ftp_conn_unix_syshooks): Initialize APPEND_NAME and BASENAME fields; remove FIX_NLIST_NAME initialization. (ftp_conn_unix_fix_nlist_name): Function removed. (ftp_conn_unix_append_name, ftp_conn_unix_basename): New functions.
* Initial checkin.Miles Bader1997-08-081-0/+71
|
* .Miles Bader1997-08-071-0/+12
|
* (ftp_conn_cont_get_names):Miles Bader1997-08-071-2/+41
| | | | | | | | | | Support FIX_NLIST_NAME hook. Free S->dir if necessary. Close or abort connection when done. (ftp_conn_start_get_names): Fill in S->dir field if necessary. (struct get_names_state): Add DIR field.
* (struct ftp_conn_syshooks):Miles Bader1997-08-071-0/+12
| | | | | | Add FIX_NLIST_NAME field. (ftp_conn_unix_fix_nlist_name): New declaration.
* (ftp_conn_unix_syshooks):Miles Bader1997-08-071-1/+19
| | | | | | Add ftp_conn_unix_fix_nlist_name. (ftp_conn_unix_fix_nlist_name): New function.
* (parse_dir_entry):Miles Bader1997-08-061-2/+0
| | | | Re-enable mktime calls.
* .Miles Bader1997-08-061-0/+11
|