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