]>
git.proxmox.com Git - ceph.git/blob - ceph/src/test/test_c_headers.c
1 // -*- mode:C++; tab-width:2; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=2 sw=2 smarttab
5 #include "include/cephfs/libcephfs.h"
6 #include "include/rados/librados.h"
9 #error "test invalid: only use C mode"
12 int main(int argc
, char **argv
)
18 ret
= rados_create(&cluster
, NULL
);
23 struct ceph_mount_info
*cmount
;
24 ret
= ceph_create(&cmount
, NULL
);