extern.h revision 1.42
11.42Slukem/* $NetBSD: extern.h,v 1.42 1999/10/05 00:54:07 lukem Exp $ */ 21.32Sitojun 31.40Slukem/*- 41.40Slukem * Copyright (c) 1994 The Regents of the University of California. 51.32Sitojun * All rights reserved. 61.40Slukem * 71.32Sitojun * Redistribution and use in source and binary forms, with or without 81.32Sitojun * modification, are permitted provided that the following conditions 91.32Sitojun * are met: 101.32Sitojun * 1. Redistributions of source code must retain the above copyright 111.32Sitojun * notice, this list of conditions and the following disclaimer. 121.32Sitojun * 2. Redistributions in binary form must reproduce the above copyright 131.32Sitojun * notice, this list of conditions and the following disclaimer in the 141.32Sitojun * documentation and/or other materials provided with the distribution. 151.40Slukem * 3. All advertising materials mentioning features or use of this software 161.40Slukem * must display the following acknowledgement: 171.40Slukem * This product includes software developed by the University of 181.40Slukem * California, Berkeley and its contributors. 191.40Slukem * 4. Neither the name of the University nor the names of its contributors 201.32Sitojun * may be used to endorse or promote products derived from this software 211.32Sitojun * without specific prior written permission. 221.40Slukem * 231.40Slukem * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 241.32Sitojun * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 251.32Sitojun * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 261.40Slukem * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 271.32Sitojun * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 281.32Sitojun * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 291.32Sitojun * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 301.32Sitojun * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 311.32Sitojun * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 321.32Sitojun * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 331.32Sitojun * SUCH DAMAGE. 341.40Slukem * 351.40Slukem * @(#)extern.h 8.3 (Berkeley) 10/9/94 361.32Sitojun */ 371.4Stls 381.40Slukem/* 391.40Slukem * Copyright (C) 1997 and 1998 WIDE Project. 401.1Scgd * All rights reserved. 411.40Slukem * 421.1Scgd * Redistribution and use in source and binary forms, with or without 431.1Scgd * modification, are permitted provided that the following conditions 441.1Scgd * are met: 451.1Scgd * 1. Redistributions of source code must retain the above copyright 461.1Scgd * notice, this list of conditions and the following disclaimer. 471.1Scgd * 2. Redistributions in binary form must reproduce the above copyright 481.1Scgd * notice, this list of conditions and the following disclaimer in the 491.1Scgd * documentation and/or other materials provided with the distribution. 501.40Slukem * 3. Neither the name of the project nor the names of its contributors 511.1Scgd * may be used to endorse or promote products derived from this software 521.1Scgd * without specific prior written permission. 531.40Slukem * 541.40Slukem * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND 551.1Scgd * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 561.1Scgd * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 571.40Slukem * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE 581.1Scgd * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 591.1Scgd * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 601.1Scgd * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 611.1Scgd * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 621.1Scgd * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 631.1Scgd * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 641.1Scgd * SUCH DAMAGE. 651.1Scgd */ 661.1Scgd 671.21Sthorpejstruct sockaddr; 681.26Sitohystruct tm; 691.1Scgd 701.42Slukemvoid abort_remote __P((FILE *)); 711.42Slukemvoid abortpt __P((int)); 721.42Slukemvoid abortrecv __P((int)); 731.42Slukemvoid abortsend __P((int)); 741.1Scgdvoid account __P((int, char **)); 751.11Slukemvoid alarmtimer __P((int)); 761.6Slukemint another __P((int *, char ***, const char *)); 771.28Slukemint auto_fetch __P((int, char **)); 781.1Scgdvoid blkfree __P((char **)); 791.1Scgdvoid cd __P((int, char **)); 801.1Scgdvoid cdup __P((int, char **)); 811.1Scgdvoid changetype __P((int, int)); 821.12Slukemvoid cmdabort __P((int)); 831.42Slukemvoid cmdtimeout __P((int)); 841.1Scgdvoid cmdscanner __P((int)); 851.31Slukemvoid crankrate __P((int)); 861.12Slukemint command __P((const char *, ...)); 871.29Scgd#ifndef NO_EDITCOMPLETE 881.10Slukemunsigned char complete __P((EditLine *, int)); 891.14Slukemvoid controlediting __P((void)); 901.29Scgd#endif /* !NO_EDITCOMPLETE */ 911.6Slukemint confirm __P((const char *, const char *)); 921.6SlukemFILE *dataconn __P((const char *)); 931.1Scgdvoid delete __P((int, char **)); 941.1Scgdvoid disconnect __P((int, char **)); 951.1Scgdvoid do_chmod __P((int, char **)); 961.1Scgdvoid do_umask __P((int, char **)); 971.38Slukemchar *docase __P((char *)); 981.1Scgdvoid domacro __P((int, char **)); 991.1Scgdchar *domap __P((char *)); 1001.1Scgdvoid doproxy __P((int, char **)); 1011.1Scgdchar *dotrans __P((char *)); 1021.20Slukemint foregroundproc __P((void)); 1031.27Slukemvoid ftpvis __P((char *, size_t, const char *, size_t)); 1041.23Smycroftint ftp_login __P((const char *, const char *, const char *)); 1051.1Scgdvoid get __P((int, char **)); 1061.6Slukemstruct cmd *getcmd __P((const char *)); 1071.6Slukemint getit __P((int, char **, int, const char *)); 1081.1Scgdint getreply __P((int)); 1091.38Slukemchar *globulize __P((const char *)); 1101.6Slukemchar *gunique __P((const char *)); 1111.1Scgdvoid help __P((int, char **)); 1121.32Sitojunchar *hookup __P((char *, char *)); 1131.37Slukemvoid idlecmd __P((int, char **)); 1141.42Slukemint initconn __P((void)); 1151.12Slukemvoid intr __P((void)); 1161.34Slukemint isipv6addr __P((const char *)); 1171.10Slukemvoid list_vertical __P((StringList *)); 1181.1Scgdvoid lcd __P((int, char **)); 1191.12Slukemvoid lostpeer __P((void)); 1201.38Slukemvoid lpage __P((int, char **)); 1211.6Slukemvoid lpwd __P((int, char **)); 1221.1Scgdvoid ls __P((int, char **)); 1231.1Scgdvoid mabort __P((int)); 1241.1Scgdvoid macdef __P((int, char **)); 1251.12Slukemvoid makeargv __P((void)); 1261.1Scgdvoid makedir __P((int, char **)); 1271.1Scgdvoid mdelete __P((int, char **)); 1281.1Scgdvoid mget __P((int, char **)); 1291.1Scgdvoid mls __P((int, char **)); 1301.1Scgdvoid modtime __P((int, char **)); 1311.1Scgdvoid mput __P((int, char **)); 1321.1Scgdchar *onoff __P((int)); 1331.1Scgdvoid newer __P((int, char **)); 1341.12Slukemvoid page __P((int, char **)); 1351.31Slukemint parserate __P((int, char **, int)); 1361.42Slukemvoid progressmeter __P((int)); 1371.12Slukemchar *prompt __P((void)); 1381.12Slukemvoid proxabort __P((int)); 1391.42Slukemvoid proxtrans __P((const char *, const char *, const char *)); 1401.42Slukemvoid psabort __P((int)); 1411.5Slukemvoid psummary __P((int)); 1421.42Slukemvoid pswitch __P((int)); 1431.42Slukemvoid ptransfer __P((int)); 1441.1Scgdvoid put __P((int, char **)); 1451.1Scgdvoid pwd __P((int, char **)); 1461.1Scgdvoid quit __P((int, char **)); 1471.1Scgdvoid quote __P((int, char **)); 1481.6Slukemvoid quote1 __P((const char *, int, char **)); 1491.42Slukemvoid recvrequest __P((const char *, const char *, const char *, 1501.17Slukem const char *, int, int)); 1511.1Scgdvoid reget __P((int, char **)); 1521.12Slukemchar *remglob __P((char **, int, char **)); 1531.8Slukemoff_t remotesize __P((const char *, int)); 1541.8Slukemtime_t remotemodtime __P((const char *, int)); 1551.1Scgdvoid removedir __P((int, char **)); 1561.1Scgdvoid renamefile __P((int, char **)); 1571.42Slukemvoid reset __P((int, char **)); 1581.1Scgdvoid restart __P((int, char **)); 1591.1Scgdvoid rmthelp __P((int, char **)); 1601.1Scgdvoid rmtstatus __P((int, char **)); 1611.23Smycroftint ruserpass __P((const char *, const char **, const char **, 1621.23Smycroft const char **)); 1631.42Slukemvoid sendrequest __P((const char *, const char *, const char *, int)); 1641.1Scgdvoid setascii __P((int, char **)); 1651.1Scgdvoid setbell __P((int, char **)); 1661.1Scgdvoid setbinary __P((int, char **)); 1671.1Scgdvoid setcase __P((int, char **)); 1681.1Scgdvoid setcr __P((int, char **)); 1691.1Scgdvoid setdebug __P((int, char **)); 1701.10Slukemvoid setedit __P((int, char **)); 1711.33Sitojunvoid setepsv4 __P((int, char **)); 1721.1Scgdvoid setform __P((int, char **)); 1731.1Scgdvoid setftmode __P((int, char **)); 1741.17Slukemvoid setgate __P((int, char **)); 1751.1Scgdvoid setglob __P((int, char **)); 1761.1Scgdvoid sethash __P((int, char **)); 1771.1Scgdvoid setnmap __P((int, char **)); 1781.1Scgdvoid setntrans __P((int, char **)); 1791.2Scgdvoid setpassive __P((int, char **)); 1801.1Scgdvoid setpeer __P((int, char **)); 1811.1Scgdvoid setport __P((int, char **)); 1821.6Slukemvoid setpreserve __P((int, char **)); 1831.7Slukemvoid setprogress __P((int, char **)); 1841.1Scgdvoid setprompt __P((int, char **)); 1851.31Slukemvoid setrate __P((int, char **)); 1861.1Scgdvoid setrunique __P((int, char **)); 1871.1Scgdvoid setstruct __P((int, char **)); 1881.1Scgdvoid setsunique __P((int, char **)); 1891.1Scgdvoid settenex __P((int, char **)); 1901.1Scgdvoid settrace __P((int, char **)); 1911.11Slukemvoid setttywidth __P((int)); 1921.1Scgdvoid settype __P((int, char **)); 1931.21Sthorpejvoid setupsockbufsize __P((int)); 1941.1Scgdvoid setverbose __P((int, char **)); 1951.35Slukemvoid setxferbuf __P((int, char **)); 1961.1Scgdvoid shell __P((int, char **)); 1971.1Scgdvoid site __P((int, char **)); 1981.1Scgdvoid sizecmd __P((int, char **)); 1991.12Slukemchar *slurpstring __P((void)); 2001.1Scgdvoid status __P((int, char **)); 2011.31Slukemint strsuftoi __P((const char *)); 2021.1Scgdvoid syst __P((int, char **)); 2031.6Slukemint togglevar __P((int, char **, int *, const char *)); 2041.12Slukemvoid usage __P((void)); 2051.1Scgdvoid user __P((int, char **)); 2061.21Sthorpejint xconnect __P((int, const struct sockaddr *, int)); 2071.21Sthorpejint xlisten __P((int, int)); 2081.24Slukemvoid *xmalloc __P((size_t)); 2091.24Slukemchar *xstrdup __P((const char *)); 2101.25Slukemsig_t xsignal __P((int, void (func) __P((int)))); 2111.42Slukemsig_t xsignal_restart __P((int, void (func) __P((int)), int)); 212