summaryrefslogtreecommitdiffstats
path: root/contrib/lukemftp/src/ftp_var.h
diff options
context:
space:
mode:
authormikeh <mikeh@FreeBSD.org>2005-02-20 17:33:34 +0000
committermikeh <mikeh@FreeBSD.org>2005-02-20 17:33:34 +0000
commit2ba18d971a2b8a364c29e92ed83e6629611c6f2d (patch)
treeeb192176a0f651d60be9cc4f4fe6e9fd6a679348 /contrib/lukemftp/src/ftp_var.h
parentc9c16ea8f44d1ddd53650c9b446b0b7e94bc4db1 (diff)
parent1be5c31f3514eedf5d9af243aff0f5cee4a240c5 (diff)
downloadFreeBSD-src-2ba18d971a2b8a364c29e92ed83e6629611c6f2d.zip
FreeBSD-src-2ba18d971a2b8a364c29e92ed83e6629611c6f2d.tar.gz
This commit was generated by cvs2svn to compensate for changes in r142129,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/lukemftp/src/ftp_var.h')
-rw-r--r--contrib/lukemftp/src/ftp_var.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/contrib/lukemftp/src/ftp_var.h b/contrib/lukemftp/src/ftp_var.h
index 46c4b61..812f000 100644
--- a/contrib/lukemftp/src/ftp_var.h
+++ b/contrib/lukemftp/src/ftp_var.h
@@ -1,7 +1,7 @@
-/* $NetBSD: ftp_var.h,v 1.65 2003/08/07 11:13:56 agc Exp $ */
+/* $NetBSD: ftp_var.h,v 1.69 2005/01/03 09:50:09 lukem Exp $ */
/*-
- * Copyright (c) 1996-2003 The NetBSD Foundation, Inc.
+ * Copyright (c) 1996-2005 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
@@ -126,15 +126,15 @@
* Format of command table.
*/
struct cmd {
- char *c_name; /* name of command */
- char *c_help; /* help string */
- char c_bell; /* give bell when command completes */
- char c_conn; /* must be connected to use command */
- char c_proxy; /* proxy server may execute */
+ char *c_name; /* name of command */
+ const char *c_help; /* help string */
+ char c_bell; /* give bell when command completes */
+ char c_conn; /* must be connected to use command */
+ char c_proxy; /* proxy server may execute */
#ifndef NO_EDITCOMPLETE
- char *c_complete; /* context sensitive completion list */
+ const char *c_complete; /* context sensitive completion list */
#endif /* !NO_EDITCOMPLETE */
- void (*c_handler)(int, char **); /* function to call */
+ void (*c_handler)(int, char **); /* function to call */
};
/*
@@ -269,7 +269,8 @@ GLOBAL char *direction; /* direction transfer is occurring */
GLOBAL char *hostname; /* name of host connected to */
GLOBAL int unix_server; /* server is unix, can use binary for ascii */
GLOBAL int unix_proxy; /* proxy is unix, can use binary for ascii */
-GLOBAL char remotepwd[MAXPATHLEN]; /* remote dir */
+GLOBAL char localcwd[MAXPATHLEN]; /* local dir */
+GLOBAL char remotecwd[MAXPATHLEN]; /* remote dir */
GLOBAL char *username; /* name of user logged in as. (dynamic) */
GLOBAL sa_family_t family; /* address family to use for connections */
@@ -310,6 +311,7 @@ GLOBAL void (*reply_callback)(const char *);
* first (`xxx-') and last (`xxx ')
*/
+GLOBAL volatile sig_atomic_t sigint_raised;
GLOBAL FILE *cin;
GLOBAL FILE *cout;
OpenPOWER on IntegriCloud