GCC 7.1 fixes
[zfs.git] / cmd / zed / zed_event.h
blob9f37b80fe697a1721c1778e8eefeaeb7e6881325
1 /*
2 * This file is part of the ZFS Event Daemon (ZED)
3 * for ZFS on Linux (ZoL) <http://zfsonlinux.org/>.
4 * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049).
5 * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC.
6 * Refer to the ZoL git commit log for authoritative copyright attribution.
8 * The contents of this file are subject to the terms of the
9 * Common Development and Distribution License Version 1.0 (CDDL-1.0).
10 * You can obtain a copy of the license from the top-level file
11 * "OPENSOLARIS.LICENSE" or at <http://opensource.org/licenses/CDDL-1.0>.
12 * You may not use this file except in compliance with the license.
15 #ifndef ZED_EVENT_H
16 #define ZED_EVENT_H
18 #include <stdint.h>
20 void zed_event_init(struct zed_conf *zcp);
22 void zed_event_fini(struct zed_conf *zcp);
24 int zed_event_seek(struct zed_conf *zcp, uint64_t saved_eid,
25 int64_t saved_etime[]);
27 void zed_event_service(struct zed_conf *zcp);
29 #endif /* !ZED_EVENT_H */