1207621Simp/* 2207621Simp * Copyright (c) 1993 3207621Simp * The Regents of the University of California. All rights reserved. 4207621Simp * 5207621Simp * Redistribution and use in source and binary forms, with or without 6207621Simp * modification, are permitted provided that the following conditions 7207621Simp * are met: 8207621Simp * 1. Redistributions of source code must retain the above copyright 9207621Simp * notice, this list of conditions and the following disclaimer. 10207621Simp * 2. Redistributions in binary form must reproduce the above copyright 11207621Simp * notice, this list of conditions and the following disclaimer in the 12207621Simp * documentation and/or other materials provided with the distribution. 13207621Simp * 4. Neither the name of the University nor the names of its contributors 14207621Simp * may be used to endorse or promote products derived from this software 15207621Simp * without specific prior written permission. 16207621Simp * 17207621Simp * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 18207621Simp * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19207621Simp * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20207621Simp * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 21207621Simp * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22207621Simp * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23207621Simp * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24207621Simp * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25207621Simp * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26207621Simp * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27207621Simp * SUCH DAMAGE. 28207621Simp * 29207621Simp * @(#)extern.h 8.1 (Berkeley) 6/6/93 30207621Simp * $FreeBSD: releng/10.3/usr.bin/tftp/tftp.h 216370 2010-12-11 08:32:16Z joel $ 31207621Simp */ 32207621Simp 33207621Simpvoid recvfile(int peer, char *port, int fd, char *name, char *mode); 34207621Simpvoid xmitfile(int peer, char *port, int fd, char *name, char *mode); 35207621Simp 36207621Simpextern int verbose; 37207621Simpextern int maxtimeout; 38207621Simpextern volatile int txrx_error; 39