The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/openzfs/cmd/zed/agents/zfs_agents.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * CDDL HEADER START
    3  *
    4  * The contents of this file are subject to the terms of the
    5  * Common Development and Distribution License Version 1.0 (CDDL-1.0).
    6  * You can obtain a copy of the license from the top-level file
    7  * "OPENSOLARIS.LICENSE" or at <http://opensource.org/licenses/CDDL-1.0>.
    8  * You may not use this file except in compliance with the license.
    9  *
   10  * CDDL HEADER END
   11  */
   12 
   13 /*
   14  * Copyright (c) 2016, Intel Corporation.
   15  */
   16 
   17 #ifndef ZFS_AGENTS_H
   18 #define ZFS_AGENTS_H
   19 
   20 #include <libzfs.h>
   21 #include <libnvpair.h>
   22 
   23 
   24 #ifdef  __cplusplus
   25 extern "C" {
   26 #endif
   27 
   28 /*
   29  * Agent abstraction presented to ZED
   30  */
   31 extern void zfs_agent_init(libzfs_handle_t *);
   32 extern void zfs_agent_fini(void);
   33 extern void zfs_agent_post_event(const char *, const char *, nvlist_t *);
   34 
   35 /*
   36  * ZFS Sysevent Linkable Module (SLM)
   37  */
   38 extern int zfs_slm_init(void);
   39 extern void zfs_slm_fini(void);
   40 extern void zfs_slm_event(const char *, const char *, nvlist_t *);
   41 
   42 #ifdef  __cplusplus
   43 }
   44 #endif
   45 
   46 #endif  /* !ZFS_AGENTS_H */

Cache object: 125077a90f88793d422243021dc739e9


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.