]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librados: mark new API watch/notify calls
authorSage Weil <sage@redhat.com>
Sun, 7 Dec 2014 18:36:07 +0000 (10:36 -0800)
committerSage Weil <sage@redhat.com>
Sun, 7 Dec 2014 18:36:07 +0000 (10:36 -0800)
Signed-off-by: Sage Weil <sage@redhat.com>
src/include/rados/librados.h

index 946d78a9ba153730647fda253cbe3d916ec9a253..182d13ee3387a0209303c07c9b2e68d08e88bc87 100644 (file)
@@ -2072,9 +2072,10 @@ CEPH_RADOS_API int rados_notify(rados_ioctx_t io, const char *o, uint64_t ver,
  * @param reply_buffer_len pointer to size of reply buffer
  * @returns 0 on success, negative error code on failure
  */
-int rados_notify2(rados_ioctx_t io, const char *o, const char *buf, int buf_len,
-                 uint64_t timeout_ms,
-                 char **reply_buffer, size_t *reply_buffer_len);
+CEPH_RADOS_API int rados_notify2(rados_ioctx_t io, const char *o,
+                                const char *buf, int buf_len,
+                                uint64_t timeout_ms,
+                                char **reply_buffer, size_t *reply_buffer_len);
 
 /**
  * Acknolwedge receipt of a notify
@@ -2087,9 +2088,9 @@ int rados_notify2(rados_ioctx_t io, const char *o, const char *buf, int buf_len,
  * @param buf_len payload length
  * @returns 0 on success
  */
-int rados_notify_ack(rados_ioctx_t io, const char *o,
-                    uint64_t notify_id, uint64_t cookie,
-                    const char *buf, int buf_len);
+CEPH_RADOS_API int rados_notify_ack(rados_ioctx_t io, const char *o,
+                                   uint64_t notify_id, uint64_t cookie,
+                                   const char *buf, int buf_len);
 
 
 /** @} Watch/Notify */