1254661Semaste/* $NetBSD: symtab.h,v 1.1 2012/05/26 22:02:29 christos Exp $ */ 2254661Semaste 3254661Semaste/*- 4254661Semaste * Copyright (c) 2012 The NetBSD Foundation, Inc. 5254661Semaste * All rights reserved. 6254661Semaste * 7254661Semaste * This code is derived from software contributed to The NetBSD Foundation 8254661Semaste * by Christos Zoulas. 9254661Semaste * 10254661Semaste * Redistribution and use in source and binary forms, with or without 11254661Semaste * modification, are permitted provided that the following conditions 12254661Semaste * are met: 13254661Semaste * 1. Redistributions of source code must retain the above copyright 14254661Semaste * notice, this list of conditions and the following disclaimer. 15254661Semaste * 2. Redistributions in binary form must reproduce the above copyright 16254661Semaste * notice, this list of conditions and the following disclaimer in the 17254661Semaste * documentation and/or other materials provided with the distribution. 18254661Semaste * 19254661Semaste * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 20254661Semaste * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 21254661Semaste * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 22254661Semaste * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 23254661Semaste * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24254661Semaste * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25254661Semaste * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26254661Semaste * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27254661Semaste * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28254661Semaste * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29254661Semaste * POSSIBILITY OF SUCH DAMAGE. 30254661Semaste */ 31254661Semaste#ifndef _SYMTAB_H_ 32254661Semaste#define _SYMTAB_H_ 33254661Semaste 34254661Semaste__BEGIN_DECLS 35254661Semastetypedef struct symtab symtab_t; 36254661Semaste 37254661Semastevoid symtab_destroy(symtab_t *); 38254661Semastesymtab_t * symtab_create(int, int, int); 39254661Semasteint symtab_find(const symtab_t *, const void *, Dl_info *); 40254661Semaste__END_DECLS 41254661Semaste 42254661Semaste#endif /* _SYMTAB_H_ */ 43