1fc7e83faSFrançois Tigeot /* $NetBSD: extern.h,v 1.5 1998/05/06 13:16:57 mycroft Exp $ */ 2*6fc6ffe8SFrançois Tigeot /* $FreeBSD: head/usr.sbin/crunch/crunchide/extern.h 97280 2002-05-25 13:39:20Z ru $ */ 3fc7e83faSFrançois Tigeot 4fc7e83faSFrançois Tigeot /* 5fc7e83faSFrançois Tigeot * Copyright (c) 1997 Christopher G. Demetriou. All rights reserved. 6fc7e83faSFrançois Tigeot * 7fc7e83faSFrançois Tigeot * Redistribution and use in source and binary forms, with or without 8fc7e83faSFrançois Tigeot * modification, are permitted provided that the following conditions 9fc7e83faSFrançois Tigeot * are met: 10fc7e83faSFrançois Tigeot * 1. Redistributions of source code must retain the above copyright 11fc7e83faSFrançois Tigeot * notice, this list of conditions and the following disclaimer. 12fc7e83faSFrançois Tigeot * 2. Redistributions in binary form must reproduce the above copyright 13fc7e83faSFrançois Tigeot * notice, this list of conditions and the following disclaimer in the 14fc7e83faSFrançois Tigeot * documentation and/or other materials provided with the distribution. 15fc7e83faSFrançois Tigeot * 3. All advertising materials mentioning features or use of this software 16fc7e83faSFrançois Tigeot * must display the following acknowledgement: 17fc7e83faSFrançois Tigeot * This product includes software developed by Christopher G. Demetriou 18fc7e83faSFrançois Tigeot * for the NetBSD Project. 19fc7e83faSFrançois Tigeot * 4. The name of the author may not be used to endorse or promote products 20fc7e83faSFrançois Tigeot * derived from this software without specific prior written permission 21fc7e83faSFrançois Tigeot * 22fc7e83faSFrançois Tigeot * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 23fc7e83faSFrançois Tigeot * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 24fc7e83faSFrançois Tigeot * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 25fc7e83faSFrançois Tigeot * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 26fc7e83faSFrançois Tigeot * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 27fc7e83faSFrançois Tigeot * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28fc7e83faSFrançois Tigeot * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29fc7e83faSFrançois Tigeot * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30fc7e83faSFrançois Tigeot * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 31fc7e83faSFrançois Tigeot * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32fc7e83faSFrançois Tigeot */ 33fc7e83faSFrançois Tigeot 34fc7e83faSFrançois Tigeot #ifdef NLIST_ELF64 35fc7e83faSFrançois Tigeot int check_elf64(int, const char *); 36fc7e83faSFrançois Tigeot int hide_elf64(int, const char *); 37fc7e83faSFrançois Tigeot #endif 38fc7e83faSFrançois Tigeot 39fc7e83faSFrançois Tigeot int in_keep_list(const char *symbol); 40