Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

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