[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.8

1.6       millert     1: /*     $NetBSD: extern.h,v 1.11 1997/02/01 10:44:58 lukem Exp $        */
1.8     ! millert     2: /*     $OpenBSD: extern.h,v 1.7 1997/02/03 01:05:37 millert Exp $      */
1.1       deraadt     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 fd_set;
                     40:
                     41: void    abort_remote __P((FILE *));
1.8     ! millert    42: void    abortpt __P((int));
        !            43: void    abortrecv __P((int));
        !            44: void    abortsend __P((int));
        !            45: void    aborthttp __P((int));
1.1       deraadt    46: void   account __P((int, char **));
1.6       millert    47: void   alarmtimer __P((int));
                     48: int    another __P((int *, char ***, const char *));
                     49: int    auto_fetch __P((int, char **));
1.1       deraadt    50: void   blkfree __P((char **));
1.5       deraadt    51: void   cd __P((int, char **));
1.1       deraadt    52: void   cdup __P((int, char **));
                     53: void   changetype __P((int, int));
1.8     ! millert    54: void   cmdabort __P((int));
1.1       deraadt    55: void   cmdscanner __P((int));
                     56: int    command __P(());
1.6       millert    57: #ifndef SMALLFTP
                     58: unsigned char complete __P((EditLine *, int));
                     59: #endif /* !SMALLFTP */
                     60: int    confirm __P((const char *, const char *));
                     61: FILE   *dataconn __P((const char *));
1.1       deraadt    62: void   delete __P((int, char **));
                     63: void   disconnect __P((int, char **));
                     64: void   do_chmod __P((int, char **));
                     65: void   do_umask __P((int, char **));
                     66: void   domacro __P((int, char **));
                     67: char   *domap __P((char *));
                     68: void   doproxy __P((int, char **));
                     69: char   *dotrans __P((char *));
                     70: int     empty __P((struct fd_set *, int));
                     71: void   get __P((int, char **));
1.6       millert    72: struct cmd *getcmd __P((const char *));
                     73: int    getit __P((int, char **, int, const char *));
1.1       deraadt    74: int    getreply __P((int));
                     75: int    globulize __P((char **));
1.6       millert    76: char   *gunique __P((const char *));
1.1       deraadt    77: void   help __P((int, char **));
1.6       millert    78: char   *hookup __P((const char *, int));
1.1       deraadt    79: void   idle __P((int, char **));
                     80: int     initconn __P((void));
1.8     ! millert    81: void   intr __P((void));
1.6       millert    82: void   list_vertical __P((StringList *));
1.1       deraadt    83: void   lcd __P((int, char **));
1.6       millert    84: int    login __P((const char *));
1.8     ! millert    85: void   lostpeer __P((void));
1.6       millert    86: void   lpwd __P((int, char **));
1.1       deraadt    87: void   ls __P((int, char **));
                     88: void   mabort __P((int));
                     89: void   macdef __P((int, char **));
1.6       millert    90: void   makeargv __P(());
1.1       deraadt    91: void   makedir __P((int, char **));
                     92: void   mdelete __P((int, char **));
                     93: void   mget __P((int, char **));
                     94: void   mls __P((int, char **));
                     95: void   modtime __P((int, char **));
                     96: void   mput __P((int, char **));
                     97: char   *onoff __P((int));
                     98: void   newer __P((int, char **));
1.6       millert    99: void    progressmeter __P((int));
1.8     ! millert   100: char   *prompt __P((void));
        !           101: void   proxabort __P((int));
1.6       millert   102: void    proxtrans __P((const char *, const char *, const char *));
1.8     ! millert   103: void    psabort __P((int));
1.6       millert   104: void   psummary __P((int));
1.1       deraadt   105: void    pswitch __P((int));
1.6       millert   106: void    ptransfer __P((int));
1.1       deraadt   107: void   put __P((int, char **));
                    108: void   pwd __P((int, char **));
                    109: void   quit __P((int, char **));
                    110: void   quote __P((int, char **));
1.6       millert   111: void   quote1 __P((const char *, int, char **));
                    112: void    recvrequest __P((const char *, const char *, const char *,
                    113:            const char *, int));
1.1       deraadt   114: void   reget __P((int, char **));
                    115: char   *remglob __P((char **, int));
1.6       millert   116: off_t  remotesize __P((const char *, int));
                    117: time_t remotemodtime __P((const char *, int));
1.1       deraadt   118: void   removedir __P((int, char **));
                    119: void   renamefile __P((int, char **));
                    120: void    reset __P((int, char **));
                    121: void   restart __P((int, char **));
                    122: void   rmthelp __P((int, char **));
                    123: void   rmtstatus __P((int, char **));
1.6       millert   124: int    ruserpass __P((const char *, char **, char **, char **));
                    125: void    sendrequest __P((const char *, const char *, const char *, int));
1.1       deraadt   126: void   setascii __P((int, char **));
                    127: void   setbell __P((int, char **));
                    128: void   setbinary __P((int, char **));
                    129: void   setcase __P((int, char **));
                    130: void   setcr __P((int, char **));
                    131: void   setdebug __P((int, char **));
1.6       millert   132: void   setedit __P((int, char **));
1.1       deraadt   133: void   setform __P((int, char **));
                    134: void   setftmode __P((int, char **));
                    135: void   setglob __P((int, char **));
                    136: void   sethash __P((int, char **));
                    137: void   setnmap __P((int, char **));
                    138: void   setntrans __P((int, char **));
                    139: void   setpassive __P((int, char **));
                    140: void   setpeer __P((int, char **));
                    141: void   setport __P((int, char **));
1.6       millert   142: void   setpreserve __P((int, char **));
                    143: void   setprogress __P((int, char **));
1.1       deraadt   144: void   setprompt __P((int, char **));
                    145: void   setrunique __P((int, char **));
                    146: void   setstruct __P((int, char **));
                    147: void   setsunique __P((int, char **));
                    148: void   settenex __P((int, char **));
                    149: void   settrace __P((int, char **));
1.6       millert   150: void   setttywidth __P((int));
1.1       deraadt   151: void   settype __P((int, char **));
                    152: void   setverbose __P((int, char **));
                    153: void   shell __P((int, char **));
                    154: void   site __P((int, char **));
                    155: void   sizecmd __P((int, char **));
1.6       millert   156: char   *slurpstring __P(());
1.1       deraadt   157: void   status __P((int, char **));
                    158: void   syst __P((int, char **));
1.6       millert   159: int    togglevar __P((int, char **, int *, const char *));
1.8     ! millert   160: void   usage __P((void));
1.1       deraadt   161: void   user __P((int, char **));
1.6       millert   162:
1.1       deraadt   163:
                    164: extern jmp_buf abortprox;
                    165: extern int     abrtflag;
                    166: extern struct  cmd cmdtab[];
1.6       millert   167: extern FILE    *cout;
1.1       deraadt   168: extern int     data;
                    169: extern char    *home;
                    170: extern jmp_buf jabort;
                    171: extern int     proxy;
                    172: extern char    reply_string[];
                    173: extern off_t   restart_point;
                    174: extern int     NCMDS;
1.6       millert   175:
                    176: extern char *__progname;               /* from crt0.o */
                    177: