cleanups, add manual page
[unix-history] / usr / src / usr.bin / ftp / ftp_var.h
index 9f164a9..40d8491 100644 (file)
@@ -1,9 +1,20 @@
 /*
  * Copyright (c) 1985 Regents of the University of California.
 /*
  * Copyright (c) 1985 Regents of the University of California.
- * All rights reserved.  The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
+ * All rights reserved.
  *
  *
- *     @(#)ftp_var.h   5.2 (Berkeley) %G%
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ *     @(#)ftp_var.h   5.5 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -32,7 +43,6 @@ int   mcase;                  /* map upper to lower case for mget names */
 int    ntflag;                 /* use ntin ntout tables for name translation */
 int    mapflag;                /* use mapin mapout templates on file names */
 int    code;                   /* return/reply code for ftp command */
 int    ntflag;                 /* use ntin ntout tables for name translation */
 int    mapflag;                /* use mapin mapout templates on file names */
 int    code;                   /* return/reply code for ftp command */
-int    macroflg;               /* active macro */
 int    crflag;                 /* if 1, strip car. rets. on ascii gets */
 char   pasv[64];               /* passive port for proxy data connection */
 char   *altarg;                /* argv[1] with no shell-like preprocessing  */
 int    crflag;                 /* if 1, strip car. rets. on ascii gets */
 char   pasv[64];               /* passive port for proxy data connection */
 char   *altarg;                /* argv[1] with no shell-like preprocessing  */
@@ -89,7 +99,7 @@ struct macel {
 };
 
 int macnum;                    /* number of defined macros */
 };
 
 int macnum;                    /* number of defined macros */
-struct macel macros[16], *macpt;
+struct macel macros[16];
 char macbuf[4096];
 
 extern char *tail();
 char macbuf[4096];
 
 extern char *tail();
@@ -97,3 +107,8 @@ extern       char *index();
 extern char *rindex();
 extern char *remglob();
 extern int errno;
 extern char *rindex();
 extern char *remglob();
 extern int errno;
+extern char *mktemp();
+extern char *strncpy();
+extern char *strncat();
+extern char *strcat();
+extern char *strcpy();