Age | Commit message (Collapse) | Author |
|
Initialize the SYSHOOKS_VALID field.
|
|
|
|
If there's no connection, don't open a new one, just save the type for
later.
|
|
Set SYSHOOKS_VALID.
|
|
Add SYSHOOKS_VALID field.
(ftp_conn_validate_syshooks):
New inline function.
|
|
Make sure CONN's SYSHOOKS field is valid before using it.
|
|
|
|
Check for interrupts.
|
|
Check for interrupts.
|
|
Check for interrupts.
|
|
Add INTERRUPT_CHECK field.
|
|
|
|
Add fname.c
|
|
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.
|
|
If we get an error, close SRC_CONN instead of aborting it, to avoid problems
with some ftp servers.
|
|
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.
|
|
Don't open the connection here.
|
|
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.
|
|
|
|
|
|
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.
|
|
Add FIX_NLIST_NAME field.
(ftp_conn_unix_fix_nlist_name):
New declaration.
|
|
Add ftp_conn_unix_fix_nlist_name.
(ftp_conn_unix_fix_nlist_name):
New function.
|
|
Re-enable mktime calls.
|
|
|
|
Handle REPLY_UNIMP_CMD for "syst".
|
|
If returning with an error, ignore any return from ftp_conn_finish_transfer.
|
|
|
|
Rules removed.
|
|
|
|
|
|
Update.
(main):
Remove array of epoints & loops, & just use RD & WR, calling the e*
functions above.
Support DST being a directory.
(econnect, eopen_wr, eopen_rd, efinish):
New functions.
(struct epoint):
Remove FD field.
Rename RMT_FILE & RMT_HOST to FILE & HOST.
|
|
|
|
|
|
|
|
|
|
Add -DHAVE_HURD_HURD_TYPES_H.
|
|
Rename FORCE_DIR argument to CONTENTS.
|
|
|
|
New macro.
|
|
New declaration.
(ftp_conn_get_stats, ftp_conn_start_get_stats, ftp_conn_unix_start_get_stats):
Rename FORCE_DIR argument to CONTENTS.
(struct ftp_conn_syshooks):
Rename FORCE_DIR argument of START_GET_STATS field type to CONTENTS.
|
|
Cast 2nd arg in connect call to `struct sockaddr *'.
|
|
Use ftp_conn_get_raw_reply instead of ftp_conn_get_reply.
Accept REPLY_ABORT_OK as a final reply.
Include <string.h>.
|
|
New function.
(ftp_conn_get_raw_reply):
Renamed from ftp_conn_get_reply.
|
|
Remove any initial `./' we added.
Abort CONN if we return an error.
(ftp_conn_unix_start_get_stats):
Don't use asprintf.
Set ADDED_SLASH field.
Change FORCE_DIR argument to CONTENTS.
Pass -A flag.
Prepend ./ to NAME if it doesn't contain a slash.
Reject names containg possible meta-characters.
(struct get_stats_state):
Add ADDED_SLASH field.
Add CONTENTS field.
(parse_dir_entry):
Only set stat->st_fstype if FSTYPE_FTP is defined.
Only set stat->st_author if HAVE_STAT_ST_AUTHOR is defined.
Only include <hurd/hurd_types.h> if HAVE_HURD_HURD_TYPES_H is defined.
|
|
|
|
|
|
|
|
|
|
(ftp_conn_start_get_names, ftp_conn_cont_get_names, ftp_conn_get_names):
New functions.
|