16118SN/A/*- 211658Sgoetz * Copyright (c) 1992, 1993 311658Sgoetz * The Regents of the University of California. All rights reserved. 46118SN/A * 56118SN/A * Redistribution and use in source and binary forms, with or without 66118SN/A * modification, are permitted provided that the following conditions 76118SN/A * are met: 86118SN/A * 1. Redistributions of source code must retain the above copyright 96118SN/A * notice, this list of conditions and the following disclaimer. 106118SN/A * 2. Redistributions in binary form must reproduce the above copyright 116118SN/A * notice, this list of conditions and the following disclaimer in the 126118SN/A * documentation and/or other materials provided with the distribution. 136118SN/A * 3. All advertising materials mentioning features or use of this software 146118SN/A * must display the following acknowledgement: 156118SN/A * This product includes software developed by the University of 166118SN/A * California, Berkeley and its contributors. 176118SN/A * 4. Neither the name of the University nor the names of its contributors 186118SN/A * may be used to endorse or promote products derived from this software 196118SN/A * without specific prior written permission. 206118SN/A * 216118SN/A * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 226118SN/A * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 236118SN/A * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 246118SN/A * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 256118SN/A * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2611658Sgoetz * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2711658Sgoetz * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 286118SN/A * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 296118SN/A * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 306118SN/A * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 316118SN/A * SUCH DAMAGE. 326118SN/A * 336118SN/A * @(#)extern.h 8.1 (Berkeley) 5/31/93 346118SN/A * $FreeBSD$ 356118SN/A */ 366118SN/A 376118SN/Atypedef struct { 3811658Sgoetz int cnt; 39 char *buf; 40} BUF; 41 42extern int iamremote; 43 44BUF *allocbuf (BUF *, int, int); 45char *colon (char *); 46char *unbracket(char *); 47void lostconn (int); 48void nospace (void); 49int okname (char *); 50void run_err (const char *, ...); 51int susystem (char *); 52void verifydir (char *); 53