xref: /onnv-gate/usr/src/cmd/sgs/librtld_db/common/llib-lrtld_db (revision 6830:296b2ea3c777)
10Sstevel@tonic-gate/*
20Sstevel@tonic-gate * CDDL HEADER START
30Sstevel@tonic-gate *
40Sstevel@tonic-gate * The contents of this file are subject to the terms of the
52712Snn35248 * Common Development and Distribution License (the "License").
62712Snn35248 * You may not use this file except in compliance with the License.
70Sstevel@tonic-gate *
80Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate * See the License for the specific language governing permissions
110Sstevel@tonic-gate * and limitations under the License.
120Sstevel@tonic-gate *
130Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate *
190Sstevel@tonic-gate * CDDL HEADER END
200Sstevel@tonic-gate */
210Sstevel@tonic-gate/* LINTLIBRARY */
220Sstevel@tonic-gate/* PROTOLIB1 */
230Sstevel@tonic-gate
240Sstevel@tonic-gate/*
25*6830Sedp * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
262712Snn35248 * Use is subject to license terms.
27*6830Sedp */
280Sstevel@tonic-gate
290Sstevel@tonic-gate#pragma ident	"%Z%%M%	%I%	%E% SMI"
300Sstevel@tonic-gate
310Sstevel@tonic-gate#include <rtld_db.h>
320Sstevel@tonic-gate
330Sstevel@tonic-gate
340Sstevel@tonic-gatevoid		rd_delete(rd_agent_t *);
350Sstevel@tonic-gatechar *		rd_errstr(rd_err_e rderr);
360Sstevel@tonic-gaterd_err_e	rd_event_addr(rd_agent_t *, rd_event_e, rd_notify_t *);
370Sstevel@tonic-gaterd_err_e	rd_event_enable(rd_agent_t *, int);
380Sstevel@tonic-gaterd_err_e	rd_event_getmsg(rd_agent_t *, rd_event_msg_t *);
390Sstevel@tonic-gaterd_err_e	rd_init(int);
402712Snn35248rd_err_e	rd_ctl(int, void *);
410Sstevel@tonic-gaterd_err_e	rd_loadobj_iter(rd_agent_t *, rl_iter_f *,
420Sstevel@tonic-gate			void *);
430Sstevel@tonic-gatevoid		rd_log(const int);
440Sstevel@tonic-gaterd_agent_t *	rd_new(struct ps_prochandle *);
450Sstevel@tonic-gaterd_err_e	rd_objpad_enable(struct rd_agent *, size_t);
460Sstevel@tonic-gaterd_err_e	rd_plt_resolution(rd_agent_t *, psaddr_t, lwpid_t,
470Sstevel@tonic-gate			psaddr_t, rd_plt_info_t *);
48*6830Sedprd_err_e	rd_get_dyns(rd_agent_t *, psaddr_t, void **, size_t *);
490Sstevel@tonic-gaterd_err_e	rd_reset(struct rd_agent *);
50