xref: /netbsd-src/bin/sh/show.h (revision 19986c5f4a03e7d2a1ecc839196edc51d4652dca)
1*19986c5fSkre /*	$NetBSD: show.h,v 1.11 2017/06/30 23:00:40 kre Exp $	*/
207bae7edSchristos 
307bae7edSchristos /*-
407bae7edSchristos  * Copyright (c) 1995
507bae7edSchristos  *      The Regents of the University of California.  All rights reserved.
607bae7edSchristos  *
707bae7edSchristos  * Redistribution and use in source and binary forms, with or without
807bae7edSchristos  * modification, are permitted provided that the following conditions
907bae7edSchristos  * are met:
1007bae7edSchristos  * 1. Redistributions of source code must retain the above copyright
1107bae7edSchristos  *    notice, this list of conditions and the following disclaimer.
1207bae7edSchristos  * 2. Redistributions in binary form must reproduce the above copyright
1307bae7edSchristos  *    notice, this list of conditions and the following disclaimer in the
1407bae7edSchristos  *    documentation and/or other materials provided with the distribution.
15b5b29542Sagc  * 3. Neither the name of the University nor the names of its contributors
1607bae7edSchristos  *    may be used to endorse or promote products derived from this software
1707bae7edSchristos  *    without specific prior written permission.
1807bae7edSchristos  *
1907bae7edSchristos  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2007bae7edSchristos  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2107bae7edSchristos  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2207bae7edSchristos  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2307bae7edSchristos  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2407bae7edSchristos  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2507bae7edSchristos  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2607bae7edSchristos  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2707bae7edSchristos  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2807bae7edSchristos  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2907bae7edSchristos  * SUCH DAMAGE.
3007bae7edSchristos  *
3107bae7edSchristos  *	@(#)show.h	1.1 (Berkeley) 5/4/95
3207bae7edSchristos  */
3307bae7edSchristos 
34e314f958Sdsl #include <stdarg.h>
35e314f958Sdsl 
365dd8362aSkre #ifdef DEBUG
373bddaec4Schristos union node;
38c02b3bbdSchristos void showtree(union node *);
39c02b3bbdSchristos void trace(const char *, ...);
40e314f958Sdsl void tracev(const char *, va_list);
41c02b3bbdSchristos void trargs(char **);
42*19986c5fSkre void trargstr(union node *);
43c02b3bbdSchristos void trputc(int);
44c02b3bbdSchristos void trputs(const char *);
45c02b3bbdSchristos void opentrace(void);
4668b1dceaSchristos #endif
47