llib-ldl revision 20272c2e66d77f79ef35e7160584b5d098c3287f
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance/*
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance * CDDL HEADER START
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance *
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance * The contents of this file are subject to the terms of the
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance * Common Development and Distribution License (the "License").
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance * You may not use this file except in compliance with the License.
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance *
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance * or http://www.opensolaris.org/os/licensing.
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance * See the License for the specific language governing permissions
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance * and limitations under the License.
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance *
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance * When distributing Covered Code, include this CDDL HEADER in each
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ad31b4bf8b1394d8ed091857b0dc1027ed1eaa1eFelix Gabriel Mance * If applicable, add the following below this CDDL HEADER, with the
ad31b4bf8b1394d8ed091857b0dc1027ed1eaa1eFelix Gabriel Mance * fields enclosed by brackets "[]" replaced with your own identifying
ad31b4bf8b1394d8ed091857b0dc1027ed1eaa1eFelix Gabriel Mance * information: Portions Copyright [yyyy] [name of copyright owner]
ad31b4bf8b1394d8ed091857b0dc1027ed1eaa1eFelix Gabriel Mance *
10ff53cbf1ec3ea6c62435eee9eb07ea85216aafFrancisc Nicolae Bungiu * CDDL HEADER END
ad31b4bf8b1394d8ed091857b0dc1027ed1eaa1eFelix Gabriel Mance */
ad31b4bf8b1394d8ed091857b0dc1027ed1eaa1eFelix Gabriel Mance/* LINTLIBRARY */
06ccc384615ae5c183262544959ba2a894a0dc80Felix Gabriel Mance/* PROTOLIB1 */
06ccc384615ae5c183262544959ba2a894a0dc80Felix Gabriel Mance
daea7cea46f9cdc2f5939f3cdba6ae80cd60e61eChristian Maeder/*
10ff53cbf1ec3ea6c62435eee9eb07ea85216aafFrancisc Nicolae Bungiu * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
10ff53cbf1ec3ea6c62435eee9eb07ea85216aafFrancisc Nicolae Bungiu * Use is subject to license terms.
10ff53cbf1ec3ea6c62435eee9eb07ea85216aafFrancisc Nicolae Bungiu */
06ccc384615ae5c183262544959ba2a894a0dc80Felix Gabriel Mance
06ccc384615ae5c183262544959ba2a894a0dc80Felix Gabriel Mance#include <sys/types.h>
06ccc384615ae5c183262544959ba2a894a0dc80Felix Gabriel Mance#include <link.h>
06ccc384615ae5c183262544959ba2a894a0dc80Felix Gabriel Mance#include <dlfcn.h>
06ccc384615ae5c183262544959ba2a894a0dc80Felix Gabriel Mance
06ccc384615ae5c183262544959ba2a894a0dc80Felix Gabriel Mancevoid * dlopen(const char *, int);
10ff53cbf1ec3ea6c62435eee9eb07ea85216aafFrancisc Nicolae Bungiuvoid * dlsym(void *_RESTRICT_KYWD, const char *_RESTRICT_KYWD);
06ccc384615ae5c183262544959ba2a894a0dc80Felix Gabriel Manceint dlclose(void *);
f0af8c7b9b5c576bbfdd54ecb507b904519d9a2aChristian Maederchar * dlerror(void);
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mancevoid * dlmopen(Lmid_t, const char *, int);
ad31b4bf8b1394d8ed091857b0dc1027ed1eaa1eFelix Gabriel Manceint dladdr(void *, Dl_info *);
f0af8c7b9b5c576bbfdd54ecb507b904519d9a2aChristian Maederint dladdr1(void *, Dl_info *, void **, int);
f0af8c7b9b5c576bbfdd54ecb507b904519d9a2aChristian Maederint dldump(const char *, const char *, int);
f0af8c7b9b5c576bbfdd54ecb507b904519d9a2aChristian Maederint dlinfo(void *, int, void *);
f0af8c7b9b5c576bbfdd54ecb507b904519d9a2aChristian Maedervoid _ld_libc(void *);
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Manceint dl_iterate_phdr(int (*)(struct dl_phdr_info *, size_t, void *), void *);
f0af8c7b9b5c576bbfdd54ecb507b904519d9a2aChristian Maeder