Path: blob/main/sys/contrib/openzfs/cmd/zed/zed_exec.h
48380 views
// SPDX-License-Identifier: CDDL-1.01/*2* This file is part of the ZFS Event Daemon (ZED).3*4* Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049).5* Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC.6* Refer to the OpenZFS git commit log for authoritative copyright attribution.7*8* The contents of this file are subject to the terms of the9* Common Development and Distribution License Version 1.0 (CDDL-1.0).10* You can obtain a copy of the license from the top-level file11* "OPENSOLARIS.LICENSE" or at <http://opensource.org/licenses/CDDL-1.0>.12* You may not use this file except in compliance with the license.13*/1415#ifndef ZED_EXEC_H16#define ZED_EXEC_H1718#include <stdint.h>19#include "zed_strings.h"20#include "zed_conf.h"2122void zed_exec_fini(void);2324int zed_exec_process(uint64_t eid, const char *class, const char *subclass,25struct zed_conf *zcp, zed_strings_t *envs);2627#endif /* !ZED_EXEC_H */282930