xref: /freebsd-src/sys/contrib/openzfs/cmd/zed/zed_exec.h (revision 1603881667360c015f6685131f2f25474fa67a72)
1eda14cbcSMatt Macy /*
2180f8225SMatt Macy  * This file is part of the ZFS Event Daemon (ZED).
3180f8225SMatt Macy  *
4eda14cbcSMatt Macy  * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049).
5eda14cbcSMatt Macy  * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC.
6*16038816SMartin Matuska  * Refer to the OpenZFS git commit log for authoritative copyright attribution.
7eda14cbcSMatt Macy  *
8eda14cbcSMatt Macy  * The contents of this file are subject to the terms of the
9eda14cbcSMatt Macy  * Common Development and Distribution License Version 1.0 (CDDL-1.0).
10eda14cbcSMatt Macy  * You can obtain a copy of the license from the top-level file
11eda14cbcSMatt Macy  * "OPENSOLARIS.LICENSE" or at <http://opensource.org/licenses/CDDL-1.0>.
12eda14cbcSMatt Macy  * You may not use this file except in compliance with the license.
13eda14cbcSMatt Macy  */
14eda14cbcSMatt Macy 
15eda14cbcSMatt Macy #ifndef	ZED_EXEC_H
16eda14cbcSMatt Macy #define	ZED_EXEC_H
17eda14cbcSMatt Macy 
18eda14cbcSMatt Macy #include <stdint.h>
19eda14cbcSMatt Macy #include "zed_strings.h"
20*16038816SMartin Matuska #include "zed_conf.h"
21*16038816SMartin Matuska 
22*16038816SMartin Matuska void zed_exec_fini(void);
23eda14cbcSMatt Macy 
24eda14cbcSMatt Macy int zed_exec_process(uint64_t eid, const char *class, const char *subclass,
25*16038816SMartin Matuska     struct zed_conf *zcp, zed_strings_t *envs);
26eda14cbcSMatt Macy 
27eda14cbcSMatt Macy #endif	/* !ZED_EXEC_H */
28