Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / include / rados / rados_types.h
1 #ifndef CEPH_RADOS_TYPES_H
2 #define CEPH_RADOS_TYPES_H
3
4 #include <stdint.h>
5
6 /**
7  * @struct obj_watch_t
8  * One item from list_watchers
9  */
10 struct obj_watch_t {
11   char addr[256];
12   int64_t watcher_id;
13   uint64_t cookie;
14   uint32_t timeout_seconds;
15 }; 
16
17 /**
18  * @defines
19  *
20  * Pass as nspace argument to rados_ioctx_set_namespace()
21  * before calling rados_nobjects_list_open() to return
22  * all objects in all namespaces.
23  */
24 #define LIBRADOS_ALL_NSPACES "\001"
25
26 #endif