11.10Schristos/* $NetBSD: extern.h,v 1.10 2016/09/21 16:25:41 christos Exp $ */
21.1Scgd
31.1Scgd/*
41.7Scgd * Copyright (c) 1996 Christopher G. Demetriou
51.7Scgd * All rights reserved.
61.7Scgd *
71.1Scgd * Redistribution and use in source and binary forms, with or without
81.1Scgd * modification, are permitted provided that the following conditions
91.1Scgd * are met:
101.1Scgd * 1. Redistributions of source code must retain the above copyright
111.1Scgd *    notice, this list of conditions and the following disclaimer.
121.1Scgd * 2. Redistributions in binary form must reproduce the above copyright
131.1Scgd *    notice, this list of conditions and the following disclaimer in the
141.1Scgd *    documentation and/or other materials provided with the distribution.
151.9Scgd * 3. The name of the author may not be used to endorse or promote products
161.7Scgd *    derived from this software without specific prior written permission.
171.7Scgd *
181.1Scgd * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
191.1Scgd * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
201.1Scgd * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
211.1Scgd * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
221.1Scgd * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
231.1Scgd * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
241.1Scgd * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
251.1Scgd * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
261.1Scgd * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
271.1Scgd * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
281.7Scgd *
291.9Scgd * <<Id: LICENSE_GC,v 1.1 2001/10/01 23:24:05 cgd Exp>>
301.1Scgd */
311.1Scgd
321.1Scgd#ifdef NLIST_AOUT
331.10Schristosint	check_aout(const char *, size_t);
341.10Schristosint	findoff_aout(const char *, size_t, u_long, size_t *, u_long);
351.1Scgd#endif
361.1Scgd#ifdef NLIST_ECOFF
371.10Schristosint	check_ecoff(const char *, size_t);
381.10Schristosint	findoff_ecoff(const char *, size_t, u_long, size_t *, u_long);
391.1Scgd#endif
401.1Scgd#ifdef NLIST_ELF32
411.10Schristosint	check_elf32(const char *, size_t);
421.10Schristosint	findoff_elf32(const char *, size_t, u_long, size_t *, u_long);
431.1Scgd#endif
441.1Scgd#ifdef NLIST_ELF64
451.10Schristosint	check_elf64(const char *, size_t);
461.10Schristosint	findoff_elf64(const char *, size_t, u_long, size_t *, u_long);
471.5Sitojun#endif
481.5Sitojun#ifdef NLIST_COFF
491.10Schristosint	check_coff(const char *, size_t);
501.10Schristosint	findoff_coff(const char *, size_t, u_long, size_t *, u_long);
511.1Scgd#endif
52