[BACK]Return to extern.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ftp

Annotation of src/usr.bin/ftp/extern.h, Revision 1.3

1.3     ! deraadt     1: /*      $OpenBSD: extern.h,v 1.2 1996/06/26 05:33:35 deraadt Exp $      */
1.1       deraadt     2: /*      $NetBSD: extern.h,v 1.4 1995/09/08 01:06:19 tls Exp $      */
                      3:
                      4: /*-
                      5:  * Copyright (c) 1994 The Regents of the University of California.
                      6:  * All rights reserved.
                      7:  *
                      8:  * Redistribution and use in source and binary forms, with or without
                      9:  * modification, are permitted provided that the following conditions
                     10:  * are met:
                     11:  * 1. Redistributions of source code must retain the above copyright
                     12:  *    notice, this list of conditions and the following disclaimer.
                     13:  * 2. Redistributions in binary form must reproduce the above copyright
                     14:  *    notice, this list of conditions and the following disclaimer in the
                     15:  *    documentation and/or other materials provided with the distribution.
                     16:  * 3. All advertising materials mentioning features or use of this software
                     17:  *    must display the following acknowledgement:
                     18:  *     This product includes software developed by the University of
                     19:  *     California, Berkeley and its contributors.
                     20:  * 4. Neither the name of the University nor the names of its contributors
                     21:  *    may be used to endorse or promote products derived from this software
                     22:  *    without specific prior written permission.
                     23:  *
                     24:  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
                     25:  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
                     26:  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
                     27:  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
                     28:  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
                     29:  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
                     30:  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
                     31:  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
                     32:  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
                     33:  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
                     34:  * SUCH DAMAGE.
                     35:  *
                     36:  *     @(#)extern.h    8.3 (Berkeley) 10/9/94
                     37:  */
                     38:
                     39: struct timeval;
                     40: struct fd_set;
                     41:
                     42: void    abort_remote __P((FILE *));
                     43: void    abortpt __P(());
                     44: void    abortrecv __P(());
                     45: void    abortsend __P(());
                     46: void   account __P((int, char **));
                     47: int    another __P((int *, char ***, char *));
                     48: void   blkfree __P((char **));
                     49: void   cd __P((int, char **));
                     50: void   cdup __P((int, char **));
                     51: void   changetype __P((int, int));
                     52: void   cmdabort __P(());
                     53: void   cmdscanner __P((int));
                     54: int    command __P(());
                     55: int    confirm __P((char *, char *));
                     56: FILE   *dataconn __P((char *));
                     57: void   delete __P((int, char **));
                     58: void   disconnect __P((int, char **));
                     59: void   do_chmod __P((int, char **));
                     60: void   do_umask __P((int, char **));
                     61: void   domacro __P((int, char **));
                     62: char   *domap __P((char *));
                     63: void   doproxy __P((int, char **));
                     64: char   *dotrans __P((char *));
                     65: int     empty __P((struct fd_set *, int));
                     66: void   fatal __P((char *));
                     67: void   get __P((int, char **));
                     68: struct cmd *getcmd __P((char *));
                     69: int    getit __P((int, char **, int, char *));
                     70: int    getreply __P((int));
                     71: int    globulize __P((char **));
                     72: char   *gunique __P((char *));
                     73: void   help __P((int, char **));
                     74: char   *hookup __P((char *, int));
                     75: void   idle __P((int, char **));
                     76: int     initconn __P((void));
                     77: void   intr __P(());
                     78: void   lcd __P((int, char **));
                     79: int    login __P((char *));
                     80: void   lostpeer __P(());
                     81: void   ls __P((int, char **));
                     82: void   mabort __P((int));
                     83: void   macdef __P((int, char **));
                     84: void   makeargv __P((void));
                     85: void   makedir __P((int, char **));
                     86: void   mdelete __P((int, char **));
                     87: void   mget __P((int, char **));
                     88: void   mls __P((int, char **));
                     89: void   modtime __P((int, char **));
                     90: void   mput __P((int, char **));
                     91: char   *onoff __P((int));
                     92: void   newer __P((int, char **));
                     93: void   proxabort __P(());
                     94: void    proxtrans __P((char *, char *, char *));
                     95: void    psabort __P(());
                     96: void    pswitch __P((int));
                     97: void    ptransfer __P((char *, long, struct timeval *, struct timeval *));
                     98: void   put __P((int, char **));
                     99: void   pwd __P((int, char **));
                    100: void   quit __P((int, char **));
                    101: void   quote __P((int, char **));
                    102: void   quote1 __P((char *, int, char **));
                    103: void    recvrequest __P((char *, char *, char *, char *, int));
                    104: void   reget __P((int, char **));
                    105: char   *remglob __P((char **, int));
                    106: void   removedir __P((int, char **));
                    107: void   renamefile __P((int, char **));
                    108: void    reset __P((int, char **));
                    109: void   restart __P((int, char **));
                    110: void   rmthelp __P((int, char **));
                    111: void   rmtstatus __P((int, char **));
                    112: int    ruserpass __P((char *, char **, char **, char **));
                    113: void    sendrequest __P((char *, char *, char *, int));
                    114: void   setascii __P((int, char **));
                    115: void   setbell __P((int, char **));
                    116: void   setbinary __P((int, char **));
                    117: void   setcase __P((int, char **));
                    118: void   setcr __P((int, char **));
                    119: void   setdebug __P((int, char **));
                    120: void   setform __P((int, char **));
                    121: void   setftmode __P((int, char **));
                    122: void   setglob __P((int, char **));
                    123: void   sethash __P((int, char **));
                    124: void   setnmap __P((int, char **));
                    125: void   setntrans __P((int, char **));
                    126: void   setpassive __P((int, char **));
                    127: void   setpeer __P((int, char **));
                    128: void   setport __P((int, char **));
                    129: void   setprompt __P((int, char **));
                    130: void   setrunique __P((int, char **));
                    131: void   setstruct __P((int, char **));
                    132: void   setsunique __P((int, char **));
                    133: void   settenex __P((int, char **));
                    134: void   settrace __P((int, char **));
                    135: void   settype __P((int, char **));
                    136: void   setverbose __P((int, char **));
                    137: void   shell __P((int, char **));
                    138: void   site __P((int, char **));
                    139: void   sizecmd __P((int, char **));
                    140: char   *slurpstring __P((void));
                    141: void   status __P((int, char **));
                    142: void   syst __P((int, char **));
                    143: void    tvsub __P((struct timeval *, struct timeval *, struct timeval *));
                    144: void   user __P((int, char **));
1.3     ! deraadt   145: int    http_fetch __P((char *));
1.1       deraadt   146:
                    147: extern jmp_buf abortprox;
                    148: extern int     abrtflag;
                    149: extern struct  cmd cmdtab[];
                    150: extern FILE    *cout;
                    151: extern int     data;
                    152: extern char    *home;
                    153: extern jmp_buf jabort;
                    154: extern int     proxy;
                    155: extern char    reply_string[];
                    156: extern off_t   restart_point;
                    157: extern int     NCMDS;