]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librados: add some comments about constants in librados.h
authorJosh Durgin <josh.durgin@inktank.com>
Fri, 7 Feb 2014 02:58:26 +0000 (18:58 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Tue, 18 Feb 2014 20:34:32 +0000 (12:34 -0800)
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/include/rados/librados.h

index 3ef2ffcf44ed548ffff4e08c0c651fd56d36ec4b..48a608cfdaacadf293a9be4718f828f9976fe00c 100644 (file)
@@ -53,11 +53,18 @@ extern "C" {
  */
 #define LIBRADOS_LOCK_FLAG_RENEW 0x1
 
+/*
+ * Constants for rados_write_op_create().
+ */
 #define LIBRADOS_CREATE_EXCLUSIVE 1
 #define LIBRADOS_CREATE_IDEMPOTENT 0
 
 /**
  * @defgroup librados_h_xattr_comp xattr comparison operations
+ * Operators for comparing xattrs on objects, and aborting the
+ * rados_read_op or rados_write_op transaction if the comparison
+ * fails.
+ *
  * @{
  */
 /** @cond TODO_enums_not_yet_in_asphyxiate */