1*edb34883SAdam H. Leventhal /*
2*edb34883SAdam H. Leventhal  * CDDL HEADER START
3*edb34883SAdam H. Leventhal  *
4*edb34883SAdam H. Leventhal  * This file and its contents are supplied under the terms of the
5*edb34883SAdam H. Leventhal  * Common Development and Distribution License ("CDDL"), version 1.0.
6*edb34883SAdam H. Leventhal  * You may only use this file in accordance with the terms of version
7*edb34883SAdam H. Leventhal  * 1.0 of the CDDL.
8*edb34883SAdam H. Leventhal  *
9*edb34883SAdam H. Leventhal  * A full copy of the text of the CDDL should have accompanied this
10*edb34883SAdam H. Leventhal  * source.  A copy of the CDDL is also available via the Internet at
11*edb34883SAdam H. Leventhal  * http://www.illumos.org/license/CDDL.
12*edb34883SAdam H. Leventhal  *
13*edb34883SAdam H. Leventhal  * CDDL HEADER END
14*edb34883SAdam H. Leventhal  */
15*edb34883SAdam H. Leventhal 
16*edb34883SAdam H. Leventhal /*
17*edb34883SAdam H. Leventhal  * Copyright (c) 2012 by Delphix. All rights reserved.
18*edb34883SAdam H. Leventhal  */
19*edb34883SAdam H. Leventhal 
20*edb34883SAdam H. Leventhal #ifndef	_DLINK_H
21*edb34883SAdam H. Leventhal #define	_DLINK_H
22*edb34883SAdam H. Leventhal 
23*edb34883SAdam H. Leventhal #include <link.h>
24*edb34883SAdam H. Leventhal #include <sys/dtrace.h>
25*edb34883SAdam H. Leventhal 
26*edb34883SAdam H. Leventhal #ifdef	__cplusplus
27*edb34883SAdam H. Leventhal extern "C" {
28*edb34883SAdam H. Leventhal #endif
29*edb34883SAdam H. Leventhal 
30*edb34883SAdam H. Leventhal extern const char *devname;
31*edb34883SAdam H. Leventhal 
32*edb34883SAdam H. Leventhal extern void dprintf(int, const char *, ...);
33*edb34883SAdam H. Leventhal extern void dtrace_link_init(void);
34*edb34883SAdam H. Leventhal extern void dtrace_link_dof(dof_hdr_t *, Lmid_t, const char *, uintptr_t);
35*edb34883SAdam H. Leventhal 
36*edb34883SAdam H. Leventhal #ifdef	__cplusplus
37*edb34883SAdam H. Leventhal }
38*edb34883SAdam H. Leventhal #endif
39*edb34883SAdam H. Leventhal 
40*edb34883SAdam H. Leventhal #endif	/* _DLINK_H */
41