edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal/*
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal * CDDL HEADER START
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal *
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal * This file and its contents are supplied under the terms of the
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal * Common Development and Distribution License ("CDDL"), version 1.0.
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal * You may only use this file in accordance with the terms of version
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal * 1.0 of the CDDL.
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal *
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal * A full copy of the text of the CDDL should have accompanied this
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal * source. A copy of the CDDL is also available via the Internet at
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal * http://www.illumos.org/license/CDDL.
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal *
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal * CDDL HEADER END
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal */
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal/*
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal * Copyright (c) 2012 by Delphix. All rights reserved.
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal */
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal#ifndef _DLINK_H
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal#define _DLINK_H
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal#include <link.h>
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal#include <sys/dtrace.h>
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal#ifdef __cplusplus
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhalextern "C" {
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal#endif
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhalextern const char *devname;
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhalextern void dprintf(int, const char *, ...);
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhalextern void dtrace_link_init(void);
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhalextern void dtrace_link_dof(dof_hdr_t *, Lmid_t, const char *, uintptr_t);
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal#ifdef __cplusplus
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal}
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal#endif
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal
edb348833aaacfa1176e502ad38875fd0b2717abAdam H. Leventhal#endif /* _DLINK_H */