blob: 0712f489148fc438587a706eaf55e9451f6d68d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef CEPH_RADOS_TYPES_H
#define CEPH_RADOS_TYPES_H
#include <stdint.h>
/**
* @struct obj_watch_t
* One item from list_watchers
*/
struct obj_watch_t {
/// Address of the Watcher
char addr[256];
/// Watcher ID
int64_t watcher_id;
/// Cookie
uint64_t cookie;
/// Timeout in Seconds
uint32_t timeout_seconds;
};
/**
*
* Pass as nspace argument to rados_ioctx_set_namespace()
* before calling rados_nobjects_list_open() to return
* all objects in all namespaces.
*/
#define LIBRADOS_ALL_NSPACES "\001"
#endif
|