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