139172Sjkh/*	$NetBSD: extern.h,v 1.5 1998/05/06 13:16:57 mycroft Exp $	*/
295781Sru/* $FreeBSD: releng/10.2/usr.sbin/crunch/crunchide/extern.h 97280 2002-05-25 13:39:20Z ru $ */
339172Sjkh
439172Sjkh/*
539172Sjkh * Copyright (c) 1997 Christopher G. Demetriou.  All rights reserved.
639172Sjkh *
739172Sjkh * Redistribution and use in source and binary forms, with or without
839172Sjkh * modification, are permitted provided that the following conditions
939172Sjkh * are met:
1039172Sjkh * 1. Redistributions of source code must retain the above copyright
1139172Sjkh *    notice, this list of conditions and the following disclaimer.
1239172Sjkh * 2. Redistributions in binary form must reproduce the above copyright
1339172Sjkh *    notice, this list of conditions and the following disclaimer in the
1439172Sjkh *    documentation and/or other materials provided with the distribution.
1539172Sjkh * 3. All advertising materials mentioning features or use of this software
1639172Sjkh *    must display the following acknowledgement:
1739172Sjkh *      This product includes software developed by Christopher G. Demetriou
1839172Sjkh *	for the NetBSD Project.
1939172Sjkh * 4. The name of the author may not be used to endorse or promote products
2039172Sjkh *    derived from this software without specific prior written permission
2139172Sjkh *
2239172Sjkh * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
2339172Sjkh * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2439172Sjkh * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2539172Sjkh * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2639172Sjkh * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2739172Sjkh * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2839172Sjkh * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2939172Sjkh * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3039172Sjkh * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
3139172Sjkh * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3239172Sjkh */
3339172Sjkh
3439172Sjkh#ifdef NLIST_AOUT
3539172Sjkhint	check_aout(int, const char *);
3639172Sjkhint	hide_aout(int, const char *);
3739172Sjkh#endif
3839172Sjkh#ifdef NLIST_ECOFF
3939172Sjkhint	check_ecoff(int, const char *);
4039172Sjkhint	hide_ecoff(int, const char *);
4139172Sjkh#endif
4239172Sjkh#ifdef NLIST_ELF32
4339172Sjkhint	check_elf32(int, const char *);
4439172Sjkhint	hide_elf32(int, const char *);
4539172Sjkh#endif
4639172Sjkh#ifdef NLIST_ELF64
4739172Sjkhint	check_elf64(int, const char *);
4839172Sjkhint	hide_elf64(int, const char *);
4939172Sjkh#endif
5039172Sjkh
5139172Sjkhint	in_keep_list(const char *symbol);
52