]> git.proxmox.com Git - ceph.git/blob - ceph/src/pmdk/src/libpmem2/region_namespace.h
import ceph 16.2.7
[ceph.git] / ceph / src / pmdk / src / libpmem2 / region_namespace.h
1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright 2020, Intel Corporation */
3
4 /*
5 * region_namespace.h -- internal definitions for libpmem2
6 * common region related functions
7 */
8
9 #ifndef PMDK_REGION_NAMESPACE_H
10 #define PMDK_REGION_NAMESPACE_H 1
11
12 #include "os.h"
13 #include "pmem2_utils.h"
14 #include "source.h"
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20 int pmem2_get_region_id(const struct pmem2_source *src, unsigned *region_id);
21
22 #ifdef __cplusplus
23 }
24 #endif
25
26 #endif /* PMDK_REGION_NAMESPACE_H */