mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-30 17:18:21 +03:00
a8319e62c0
This command option can be used to trigger a D-Bus notification independent of the usual notifications that are sent from other commands as an effect of changes to PV/VG/LV state. If lvm is not built with dbus notification support or if notify_dbus is disabled in the config, this command will exit with an error.
22 lines
543 B
C
22 lines
543 B
C
/*
|
|
* Copyright (C) 2015 Red Hat, Inc.
|
|
*
|
|
* This file is part of LVM2.
|
|
*
|
|
* This copyrighted material is made available to anyone wishing to use,
|
|
* modify, copy, or redistribute it subject to the terms and conditions
|
|
* of the GNU Lesser General Public License v.2.1.
|
|
*/
|
|
|
|
#ifndef _LVMNOTIFY_H
|
|
#define _LVMNOTIFY_H
|
|
|
|
int lvmnotify_is_supported(void);
|
|
void lvmnotify_send(struct cmd_context *cmd);
|
|
void set_vg_notify(struct cmd_context *cmd);
|
|
void set_lv_notify(struct cmd_context *cmd);
|
|
void set_pv_notify(struct cmd_context *cmd);
|
|
|
|
#endif
|
|
|