aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* (struct ftpfs):Miles Bader1997-08-121-1/+7
| | | | | | Add FSID & NEXT_INODE fields. (ftpfs_create): Add FSID parameter.
* (main):Miles Bader1997-08-121-1/+3
| | | | Supply the FSID argument to ftpfs_create.
* (ftpfs_create):Miles Bader1997-08-121-1/+4
| | | | | Add FSID parameter. Initialize FSID & NEXT_INODE fields.
* .Miles Bader1997-08-112-0/+10
|
* (netfs_get_dirents):Miles Bader1997-08-111-41/+86
| | | | | | Add entries for `.' and `..'. (netfs_attempt_lookup): Handle `.' and `..' lookups.
* (sweep):Miles Bader1997-08-111-1/+7
| | | | | | Don't delete entries that have the NOENT flag set. (refresh_dir): Ensure that there are entries for `.' and `..'.
* No long usedMiles Bader1997-08-112-227/+0
|
* Doc fix.Miles Bader1997-08-091-0/+2
|
* .Miles Bader1997-08-092-0/+33
|
* (struct refresh_entry_state):Miles Bader1997-08-091-109/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | DIR_PFX & DIR_PFX_LEN fields removed. (ftpfs_dir_lookup, ftpfs_refresh_node): Use ftp_conn_append_name instead of path_append. Don't set dir_pfx fields in RES anymore. (lookup): Grow the hash table when it gets large. (update_old_entry): Don't futz with NAME anymore. (path_append): Macro removed. (update_new_entry): Don't futz with NAME anymore. (struct new_entry_state): DIR_PFX & DIR_PFX_LEN fields removed. (struct dir_fetch_state): Replace PREV_ENTRY by PREV_ENTRY_NEXT_P. (update_ordered_entry): Correctly handle a non-empty list. Only insert E in the ordered entry list if it's not already there. (rehash): Zero the new hash table. (refresh_dir): Don't clear the ordered entry list. Only reset bulk stat detection state if actually doing a bulk stat. Initialize DFS.prev_entry_next_p instead of DFS.prev_entry.
* (ftpfs_hooks):Miles Bader1997-08-091-1/+1
| | | | Initialize INTERRUPT_CHECK Field.
* (ccache_read):Miles Bader1997-08-091-0/+3
| | | | Check for thread cancelation.
* (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-1/+3
|
* (append_basename):Miles Bader1997-08-081-13/+26
| | | | | | | New function. (main): Move target directory handling to append_basename. Use it also with remote transfers.
* .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.
* .Miles Bader1997-08-081-0/+9
|
* (econnect):Miles Bader1997-08-081-18/+63
| | | | | | | | | | | Add NAME parameter, & set connection hook from it. (cntl_debug): Print CONN->hook as a string before any output. (eappend, ebasename): New functions. (main): Use them. Set the connection hooks to appropriate strings.
* (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
|
* Thu Aug 7 16:01:29 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-08-072-1/+6
| | | | | * inode.c (read_disknode): Units of st_blocks are 512 byte chunks, not logical_block_size chunks.
* .Miles Bader1997-08-073-0/+50
|
* (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 ftpfs_dir):Miles Bader1997-08-071-6/+13
| | | | | | | | | | timestamp renamed to stat_timestamp. Add name_timestamp field. (struct ftpfs_params): Remove dirent_timeout and dir_timeout fields. Add name_timeout field. (struct ftpfs_dir_entry): dirent_timestamp renamed to name_timestamp.
* (struct ftp_conn_syshooks):Miles Bader1997-08-071-0/+12
| | | | | | Add FIX_NLIST_NAME field. (ftp_conn_unix_fix_nlist_name): New declaration.
* (lookup):Miles Bader1997-08-071-61/+108
| | | | | | | | | | | | | | | | | | | | | Initialize timestamps. (update_ordered_name): New function. (ftpfs_dir_lookup): dirent_timeout parameter renamed to name_timeout and dirent_timestamp field renamed to name_timestamp. (update_entry): Allow ST to be zero. Don't leak memory when updating symlink info. Change return type to void. Remove NO_LOCK parameter. (update_ordered_entry, update_old_entry, update_new_entry): Update calls to update_entry. (refresh_dir): Add UPDATE_STATS parameter, and only fetch names if it's zero. Update new timestamps. (ftpfs_dir_refresh, ftpfs_refresh_node, ftpfs_dir_lookup): Supply UPDATE_STATS argument to refresh_dir.
* (netfs_append_args):Miles Bader1997-08-071-28/+33
| | | | | | | | | | | | | | | Output --debug. (OPT_DIR_TIMEOUT, OPT_DIRENT_TIMEOUT): Macros removed. (common_options, parse_common_opt, netfs_append_args, main): Replace --dir-timeout & --dirent-timeout by --name-timeout. Add --bulk-stat-period and --bulk-stat-threshold options. (DEFAULT_DIR_TIMEOUT, DEFAULT_DIRENT_TIMEOUT): Macros removed. (OPT_NAME_TIMEOUT): New macro. (DEFAULT_NAME_TIMEOUT): New macro.
* (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.
* (main):Miles Bader1997-08-071-1/+1
| | | | Use ARGP_IN_ORDER to parse args.
* Wed Aug 6 15:23:03 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-08-076-34/+129
| | | | | | | | | | | | * ops.c (netfs_attempt_unlink): Purge cache-held references *before* counting live references. Use new function. * name-cache.c (purge_lookup_cache_node): New function. * nfs.h (purge_lookup_cache_node): New decl. * cache.c (netfs_node_norefs): Don't do delete RPC here, fork off a separate thread to do it. (struct fnd): New type. (forked_node_delete): New function.
* .Miles Bader1997-08-071-0/+2
|
* (split_server_name):Miles Bader1997-08-071-3/+1
| | | | Enable password parsing.
* .Miles Bader1997-08-071-0/+8
|
* (idvec_merge_implied_gids):Miles Bader1997-08-071-2/+6
| | | | Do all ids in UIDS even if one returns an error.
* (ugids_set_posix_user):Miles Bader1997-08-071-52/+50
| | | | Ignore errors from idvec_merge_implied_gids.
* (ugids_add_user):Miles Bader1997-08-071-23/+21
| | | | Ignore errors from idvec_merge_implied_gids.
* .Miles Bader1997-08-061-0/+4
|
* (lookup):Miles Bader1997-08-061-0/+1
| | | | Initialize the NODE field.
* Initial checkin.Miles Bader1997-08-061-0/+4
|
* (parse_dir_entry):Miles Bader1997-08-061-2/+0
| | | | Re-enable mktime calls.
* .Miles Bader1997-08-061-0/+11
|
* (ftp_conn_sysify):Miles Bader1997-08-061-2/+2
| | | | Handle REPLY_UNIMP_CMD for "syst".