1*0f5a0c15Ssalo /* $NetBSD: extern.h,v 1.13 2003/07/26 20:34:12 salo Exp $ */ 25247fa0cScgd 35247fa0cScgd /* 4db755e7cScgd * Copyright (c) 1997 Christopher G. Demetriou 5db755e7cScgd * All rights reserved. 65247fa0cScgd * 75247fa0cScgd * Redistribution and use in source and binary forms, with or without 85247fa0cScgd * modification, are permitted provided that the following conditions 95247fa0cScgd * are met: 105247fa0cScgd * 1. Redistributions of source code must retain the above copyright 115247fa0cScgd * notice, this list of conditions and the following disclaimer. 125247fa0cScgd * 2. Redistributions in binary form must reproduce the above copyright 135247fa0cScgd * notice, this list of conditions and the following disclaimer in the 145247fa0cScgd * documentation and/or other materials provided with the distribution. 155247fa0cScgd * 3. All advertising materials mentioning features or use of this software 165247fa0cScgd * must display the following acknowledgement: 17db755e7cScgd * This product includes software developed for the 18*0f5a0c15Ssalo * NetBSD Project. See http://www.NetBSD.org/ for 19db755e7cScgd * information about NetBSD. 205247fa0cScgd * 4. The name of the author may not be used to endorse or promote products 21db755e7cScgd * derived from this software without specific prior written permission. 225247fa0cScgd * 235247fa0cScgd * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 245247fa0cScgd * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 255247fa0cScgd * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 265247fa0cScgd * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 275247fa0cScgd * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 285247fa0cScgd * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 295247fa0cScgd * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 305247fa0cScgd * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 315247fa0cScgd * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 325247fa0cScgd * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33db755e7cScgd * 34db755e7cScgd * <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>> 355247fa0cScgd */ 365247fa0cScgd 375247fa0cScgd #ifdef NLIST_AOUT 385247fa0cScgd int check_aout(int, const char *); 39ccc5be39Scgd int hide_aout(int, const char *); 405247fa0cScgd #endif 4117b68982Smsaitoh #ifdef NLIST_COFF 4217b68982Smsaitoh int check_coff(int, const char *); 4317b68982Smsaitoh int hide_coff(int, const char *); 4417b68982Smsaitoh #endif 45d7b9b1a5Scgd #ifdef NLIST_ECOFF 46d7b9b1a5Scgd int check_ecoff(int, const char *); 47d7b9b1a5Scgd int hide_ecoff(int, const char *); 48d7b9b1a5Scgd #endif 495247fa0cScgd #ifdef NLIST_ELF32 505247fa0cScgd int check_elf32(int, const char *); 51ccc5be39Scgd int hide_elf32(int, const char *); 525247fa0cScgd #endif 535247fa0cScgd #ifdef NLIST_ELF64 545247fa0cScgd int check_elf64(int, const char *); 55ccc5be39Scgd int hide_elf64(int, const char *); 565247fa0cScgd #endif 575247fa0cScgd 585247fa0cScgd int in_keep_list(const char *symbol); 59