]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
include/rados: document parameters
authorKefu Chai <kchai@redhat.com>
Wed, 14 Apr 2021 08:31:07 +0000 (16:31 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 14 Apr 2021 10:41:38 +0000 (18:41 +0800)
less warnings from sphinx

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/include/rados/librados.h

index d9e39eceb1f9e96cfe5a984738f2cc0853409849..34cadf25b26515a54f57cb23b5a68677c26650d5 100644 (file)
@@ -2381,7 +2381,7 @@ typedef void (*rados_watchcb_t)(uint8_t opcode, uint64_t ver, void *arg);
  * @param handle the watcher handle we are notifying
  * @param notifier_id the unique client id for the notifier
  * @param data payload from the notifier
- * @param datalen length of payload buffer
+ * @param data_len length of payload buffer
  */
 typedef void (*rados_watchcb2_t)(void *arg,
                                 uint64_t notify_id,
@@ -2400,6 +2400,7 @@ typedef void (*rados_watchcb2_t)(void *arg,
  * we may have missed notify events.
  *
  * @param pre opaque user-defined value provided to rados_watch2()
+ * @param cookie the internal id assigned to the watch session
  * @param err error code
  */
   typedef void (*rados_watcherrcb_t)(void *pre, uint64_t cookie, int err);