/*
 * CDDL HEADER START
 *
 * The contents of this file are subject to the terms of the
 * Common Development and Distribution License (the "License").
 * You may not use this file except in compliance with the License.
 *
 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 * or http://www.opensolaris.org/os/licensing.
 * See the License for the specific language governing permissions
 * and limitations under the License.
 *
 * When distributing Covered Code, include this CDDL HEADER in each
 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
 * If applicable, add the following below this CDDL HEADER, with the
 * fields enclosed by brackets "[]" replaced with your own identifying
 * information: Portions Copyright [yyyy] [name of copyright owner]
 *
 * CDDL HEADER END
 */
/* LINTLIBRARY */
/* PROTOLIB1 */

/*
 * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 * Use is subject to license terms.
 */

#pragma ident	"%Z%%M%	%I%	%E% SMI"

#include <rtld_db.h>


void		rd_delete(rd_agent_t *);
char *		rd_errstr(rd_err_e rderr);
rd_err_e	rd_event_addr(rd_agent_t *, rd_event_e, rd_notify_t *);
rd_err_e	rd_event_enable(rd_agent_t *, int);
rd_err_e	rd_event_getmsg(rd_agent_t *, rd_event_msg_t *);
rd_err_e	rd_init(int);
rd_err_e	rd_ctl(int, void *);
rd_err_e	rd_loadobj_iter(rd_agent_t *, rl_iter_f *,
			void *);
void		rd_log(const int);
rd_agent_t *	rd_new(struct ps_prochandle *);
rd_err_e	rd_objpad_enable(struct rd_agent *, size_t);
rd_err_e	rd_plt_resolution(rd_agent_t *, psaddr_t, lwpid_t,
			psaddr_t, rd_plt_info_t *);
rd_err_e	rd_get_dyns(rd_agent_t *, psaddr_t, void **, size_t *);
rd_err_e	rd_reset(struct rd_agent *);
