hash.h revision 1.1
11.1Sriastrad/* $NetBSD: hash.h,v 1.1 2023/07/30 09:20:14 riastradh Exp $ */ 21.1Sriastrad 31.1Sriastrad/* 41.1Sriastrad * Copyright 1996 John D. Polstra. 51.1Sriastrad * Copyright 1996 Matt Thomas <matt@3am-software.com> 61.1Sriastrad * All rights reserved. 71.1Sriastrad * 81.1Sriastrad * Redistribution and use in source and binary forms, with or without 91.1Sriastrad * modification, are permitted provided that the following conditions 101.1Sriastrad * are met: 111.1Sriastrad * 1. Redistributions of source code must retain the above copyright 121.1Sriastrad * notice, this list of conditions and the following disclaimer. 131.1Sriastrad * 2. Redistributions in binary form must reproduce the above copyright 141.1Sriastrad * notice, this list of conditions and the following disclaimer in the 151.1Sriastrad * documentation and/or other materials provided with the distribution. 161.1Sriastrad * 3. All advertising materials mentioning features or use of this software 171.1Sriastrad * must display the following acknowledgement: 181.1Sriastrad * This product includes software developed by John Polstra. 191.1Sriastrad * 4. The name of the author may not be used to endorse or promote products 201.1Sriastrad * derived from this software without specific prior written permission. 211.1Sriastrad * 221.1Sriastrad * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 231.1Sriastrad * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 241.1Sriastrad * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 251.1Sriastrad * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 261.1Sriastrad * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 271.1Sriastrad * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 281.1Sriastrad * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 291.1Sriastrad * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 301.1Sriastrad * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 311.1Sriastrad * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 321.1Sriastrad */ 331.1Sriastrad 341.1Sriastrad#ifndef RTLD_HASH_H 351.1Sriastrad#define RTLD_HASH_H 361.1Sriastrad 371.1Sriastrad#include <sys/exec_elf.h> 381.1Sriastrad 391.1SriastradElf32_Word _rtld_sysv_hash(const char *); 401.1SriastradElf32_Word _rtld_gnu_hash(const char *); 411.1Sriastrad 421.1Sriastrad#endif /* RTLD_HASH_H */ 43