2 * Copyright 2009-2010, Sine Nomine Associates and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
12 * volume group membership cache
15 #ifndef _AFS_VOL_VG_CACHE_H
16 #define _AFS_VOL_VG_CACHE_H 1
18 #include "vg_cache_types.h"
19 #include "partition.h"
21 extern int VVGCache_entry_add(struct DiskPartition64
*, VolumeId parent
,
22 VolumeId child
, afs_int32
*newvg
);
23 extern int VVGCache_entry_add_r(struct DiskPartition64
*, VolumeId parent
,
24 VolumeId child
, afs_int32
*newvg
);
25 extern int VVGCache_entry_del(struct DiskPartition64
*, VolumeId parent
, VolumeId child
);
26 extern int VVGCache_entry_del_r(struct DiskPartition64
*, VolumeId parent
, VolumeId child
);
27 extern int VVGCache_query(struct DiskPartition64
*, VolumeId volume
, VVGCache_query_t
* res
);
28 extern int VVGCache_query_r(struct DiskPartition64
*, VolumeId volume
, VVGCache_query_t
* res
);
30 extern int VVGCache_scanStart(struct DiskPartition64
*);
31 extern int VVGCache_scanStart_r(struct DiskPartition64
*);
32 extern int VVGCache_scanWait(struct DiskPartition64
*);
33 extern int VVGCache_scanWait_r(struct DiskPartition64
*);
34 extern int VVGCache_checkPartition_r(struct DiskPartition64
*);
36 extern int VVGCache_PkgInit(void);
37 extern int VVGCache_PkgShutdown(void);
40 #endif /* _AFS_VOL_VG_CACHE_H */