4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License Version 1.0 (CDDL-1.0).
6 * You can obtain a copy of the license from the top-level file
7 * "OPENSOLARIS.LICENSE" or at <http://opensource.org/licenses/CDDL-1.0>.
8 * You may not use this file except in compliance with the license.
14 * Copyright (c) 2016, Intel Corporation.
21 #include <libnvpair.h>
29 * Agent abstraction presented to ZED
31 extern void zfs_agent_init(libzfs_handle_t
*);
32 extern void zfs_agent_fini(void);
33 extern void zfs_agent_post_event(const char *, const char *, nvlist_t
*);
36 * ZFS Sysevent Linkable Module (SLM)
38 extern int zfs_slm_init(void);
39 extern void zfs_slm_fini(void);
40 extern void zfs_slm_event(const char *, const char *, nvlist_t
*);
46 #endif /* !ZFS_AGENTS_H */