extern.h revision 233294
172445Sassar/*- 272445Sassar * Copyright (c) 1992, 1993 372445Sassar * The Regents of the University of California. All rights reserved. 472445Sassar * 572445Sassar * Redistribution and use in source and binary forms, with or without 672445Sassar * modification, are permitted provided that the following conditions 772445Sassar * are met: 872445Sassar * 1. Redistributions of source code must retain the above copyright 972445Sassar * notice, this list of conditions and the following disclaimer. 1072445Sassar * 2. Redistributions in binary form must reproduce the above copyright 1172445Sassar * notice, this list of conditions and the following disclaimer in the 1272445Sassar * documentation and/or other materials provided with the distribution. 1372445Sassar * 3. All advertising materials mentioning features or use of this software 1472445Sassar * must display the following acknowledgement: 1572445Sassar * This product includes software developed by the University of 1672445Sassar * California, Berkeley and its contributors. 1772445Sassar * 4. Neither the name of the University nor the names of its contributors 1872445Sassar * may be used to endorse or promote products derived from this software 1972445Sassar * without specific prior written permission. 2072445Sassar * 2172445Sassar * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2272445Sassar * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2372445Sassar * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2472445Sassar * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2572445Sassar * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2672445Sassar * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2772445Sassar * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2872445Sassar * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2972445Sassar * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3072445Sassar * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3172445Sassar * SUCH DAMAGE. 3272445Sassar * 3372445Sassar * @(#)extern.h 8.1 (Berkeley) 5/31/93 3472445Sassar * $FreeBSD: head/crypto/heimdal/appl/rcp/extern.h 233294 2012-03-22 08:48:42Z stas $ 3572445Sassar */ 3672445Sassar 3772445Sassartypedef struct { 3872445Sassar int cnt; 3972445Sassar char *buf; 4072445Sassar} BUF; 4172445Sassar 4272445Sassarextern int iamremote; 4372445Sassar 4472445SassarBUF *allocbuf (BUF *, int, int); 4572445Sassarchar *colon (char *); 46233294Sstaschar *unbracket(char *); 4772445Sassarvoid lostconn (int); 4872445Sassarvoid nospace (void); 4972445Sassarint okname (char *); 5072445Sassarvoid run_err (const char *, ...); 51233294Sstasint susystem (char *); 5272445Sassarvoid verifydir (char *); 53