extern.h revision 1.14
11.14Sjschauma/*	$NetBSD: extern.h,v 1.14 2003/08/04 22:31:23 jschauma Exp $	*/
21.4Scgd
31.1Sglass/*-
41.3Smycroft * Copyright (c) 1991, 1993, 1994
51.3Smycroft *	The Regents of the University of California.  All rights reserved.
61.1Sglass *
71.1Sglass * This code is derived from software contributed to Berkeley by
81.1Sglass * Keith Muller of the University of California, San Diego and Lance
91.1Sglass * Visser of Convex Computer Corporation.
101.1Sglass *
111.1Sglass * Redistribution and use in source and binary forms, with or without
121.1Sglass * modification, are permitted provided that the following conditions
131.1Sglass * are met:
141.1Sglass * 1. Redistributions of source code must retain the above copyright
151.1Sglass *    notice, this list of conditions and the following disclaimer.
161.1Sglass * 2. Redistributions in binary form must reproduce the above copyright
171.1Sglass *    notice, this list of conditions and the following disclaimer in the
181.1Sglass *    documentation and/or other materials provided with the distribution.
191.1Sglass * 3. All advertising materials mentioning features or use of this software
201.1Sglass *    must display the following acknowledgement:
211.1Sglass *	This product includes software developed by the University of
221.1Sglass *	California, Berkeley and its contributors.
231.1Sglass * 4. Neither the name of the University nor the names of its contributors
241.1Sglass *    may be used to endorse or promote products derived from this software
251.1Sglass *    without specific prior written permission.
261.1Sglass *
271.1Sglass * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
281.1Sglass * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
291.1Sglass * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
301.1Sglass * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
311.1Sglass * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
321.1Sglass * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
331.1Sglass * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
341.1Sglass * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
351.1Sglass * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
361.1Sglass * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
371.1Sglass * SUCH DAMAGE.
381.1Sglass *
391.4Scgd *	@(#)extern.h	8.3 (Berkeley) 4/2/94
401.1Sglass */
411.1Sglass
421.1Sglass#include <sys/cdefs.h>
431.1Sglass
441.11Slukemvoid block(void);
451.11Slukemvoid block_close(void);
461.11Slukemvoid dd_out(int);
471.11Slukemvoid def(void);
481.11Slukemvoid def_close(void);
491.11Slukemvoid jcl(char **);
501.11Slukemvoid pos_in(void);
511.11Slukemvoid pos_out(void);
521.11Slukemvoid summary(void);
531.11Slukemvoid summaryx(int);
541.11Slukemvoid terminate(int);
551.11Slukemvoid unblock(void);
561.11Slukemvoid unblock_close(void);
571.11Slukemssize_t bwrite(int, const void *, size_t);
581.14Sjschaumachar *printescaped(const char *);
591.1Sglass
601.12Slukemextern IO		in, out;
611.12Slukemextern STAT		st;
621.12Slukemextern void		(*cfunc)(void);
631.13Slukemextern uint64_t		cpy_cnt;
641.13Slukemextern uint64_t		cbsz;
651.12Slukemextern u_int		ddflags;
661.12Slukemextern u_int		files_cnt;
671.12Slukemextern int		progress;
681.12Slukemextern const u_char	*ctab;
691.12Slukemextern const u_char	a2e_32V[], a2e_POSIX[];
701.12Slukemextern const u_char	e2a_32V[], e2a_POSIX[];
711.12Slukemextern const u_char	a2ibm_32V[], a2ibm_POSIX[];
721.12Slukemextern u_char		casetab[];
73