Debian Codegraph @

modules/lvm2/udiskslinuxphysicalvolume.h

raw
1 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
2 *
3 * Copyright (C) 2007-2010 David Zeuthen <[email protected]>
4 * Copyright (C) 2013 Marius Vollmer <[email protected]>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 */
21
22 #ifndef __UDISKS_LINUX_PHYSICAL_VOLUME_H__
23 #define __UDISKS_LINUX_PHYSICAL_VOLUME_H__
24
25 #include <blockdev/lvm.h>
26
27 #include <src/udisksdaemontypes.h>
28 #include "udiskslvm2types.h"
29
30 G_BEGIN_DECLS
31
32 #define UDISKS_TYPE_LINUX_PHYSICAL_VOLUME (udisks_linux_physical_volume_get_type ())
33 #define UDISKS_LINUX_PHYSICAL_VOLUME(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), UDISKS_TYPE_LINUX_PHYSICAL_VOLUME, UDisksLinuxPhysicalVolume))
34 #define UDISKS_IS_LINUX_PHYSICAL_VOLUME(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), UDISKS_TYPE_LINUX_PHYSICAL_VOLUME))
35
36 GType udisks_linux_physical_volume_get_type (void) G_GNUC_CONST;
37 UDisksPhysicalVolume *udisks_linux_physical_volume_new (void);
38 void udisks_linux_physical_volume_update (UDisksLinuxPhysicalVolume *physical_volume,
39 UDisksLinuxBlockObject *object,
40 UDisksLinuxVolumeGroupObject *group_object,
41 BDLVMPVdata *pv_info);
42
43 void udisks_linux_block_object_update_lvm_pv (UDisksLinuxBlockObject *object,
44 UDisksLinuxVolumeGroupObject *group_object,
45 BDLVMPVdata *pv_info);
46
47
48 G_END_DECLS
49
50 #endif /* __UDISKS_LINUX_PHYSICAL_VOLUME_H__ */