]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #include "include/cephfs/libcephfs.h" |
2 | #include "include/rados/librados.h" | |
3 | ||
4 | #ifdef __cplusplus | |
5 | #error "test invalid: only use C mode" | |
6 | #endif | |
7 | ||
8 | int main(int argc, char **argv) | |
9 | { | |
10 | int ret; | |
11 | (void)ret; // squash unused warning | |
12 | ||
13 | /* librados.h */ | |
14 | rados_t cluster; | |
15 | ret = rados_create(&cluster, NULL); | |
16 | ||
17 | /* libcephfs.h */ | |
18 | struct ceph_mount_info *cmount; | |
19 | ret = ceph_create(&cmount, NULL); | |
20 | ||
21 | return 0; | |
22 | } |