xref: /freebsd-src/sys/contrib/openzfs/cmd/zed/zed_disk_event.h (revision e25152834cdf3b353892835a4f3b157e066a8ed4)
1*eda14cbcSMatt Macy /*
2*eda14cbcSMatt Macy  * CDDL HEADER START
3*eda14cbcSMatt Macy  *
4*eda14cbcSMatt Macy  * The contents of this file are subject to the terms of the
5*eda14cbcSMatt Macy  * Common Development and Distribution License Version 1.0 (CDDL-1.0).
6*eda14cbcSMatt Macy  * You can obtain a copy of the license from the top-level file
7*eda14cbcSMatt Macy  * "OPENSOLARIS.LICENSE" or at <http://opensource.org/licenses/CDDL-1.0>.
8*eda14cbcSMatt Macy  * You may not use this file except in compliance with the license.
9*eda14cbcSMatt Macy  *
10*eda14cbcSMatt Macy  * CDDL HEADER END
11*eda14cbcSMatt Macy  */
12*eda14cbcSMatt Macy 
13*eda14cbcSMatt Macy /*
14*eda14cbcSMatt Macy  * Copyright (c) 2016, Intel Corporation.
15*eda14cbcSMatt Macy  */
16*eda14cbcSMatt Macy 
17*eda14cbcSMatt Macy #ifndef	ZED_DISK_EVENT_H
18*eda14cbcSMatt Macy #define	ZED_DISK_EVENT_H
19*eda14cbcSMatt Macy 
20*eda14cbcSMatt Macy #ifdef	__cplusplus
21*eda14cbcSMatt Macy extern "C" {
22*eda14cbcSMatt Macy #endif
23*eda14cbcSMatt Macy 
24*eda14cbcSMatt Macy extern int zed_disk_event_init(void);
25*eda14cbcSMatt Macy extern void zed_disk_event_fini(void);
26*eda14cbcSMatt Macy 
27*eda14cbcSMatt Macy #ifdef	__cplusplus
28*eda14cbcSMatt Macy }
29*eda14cbcSMatt Macy #endif
30*eda14cbcSMatt Macy 
31*eda14cbcSMatt Macy #endif	/* !ZED_DISK_EVENT_H */
32