1 // SPDX-License-Identifier: CDDL-1.0 2 /* 3 * This file and its contents are supplied under the terms of the 4 * Common Development and Distribution License ("CDDL"), version 1.0. 5 * You may only use this file in accordance with the terms of version 6 * 1.0 of the CDDL. 7 * 8 * A full copy of the text of the CDDL should have accompanied this 9 * source. A copy of the CDDL is also available via the Internet at 10 * https://opensource.org/license/CDDL-1.0. 11 */ 12 /* 13 * This file is part of the ZFS Event Daemon (ZED). 14 * 15 * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). 16 * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. 17 */ 18 19 #ifndef ZED_EXEC_H 20 #define ZED_EXEC_H 21 22 #include <stdint.h> 23 #include "zed_strings.h" 24 #include "zed_conf.h" 25 26 void zed_exec_fini(void); 27 28 int zed_exec_process(uint64_t eid, const char *class, const char *subclass, 29 struct zed_conf *zcp, zed_strings_t *envs); 30 31 #endif /* !ZED_EXEC_H */ 32