summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/zix/ring.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/zix/ring.h b/include/zix/ring.h
index 17a0e13..04c3bda 100644
--- a/include/zix/ring.h
+++ b/include/zix/ring.h
@@ -153,6 +153,7 @@ zix_ring_write(ZixRing* ZIX_NONNULL ring,
@param ring The ring to write data to.
@return A new empty transaction.
*/
+ZIX_API
ZixRingTransaction
zix_ring_begin_write(ZixRing* ZIX_NONNULL ring);
@@ -174,6 +175,7 @@ zix_ring_begin_write(ZixRing* ZIX_NONNULL ring);
@param size Length of data to write in bytes.
@return #ZIX_STATUS_NO_MEM or #ZIX_STATUS_SUCCESS.
*/
+ZIX_API
ZixStatus
zix_ring_amend_write(ZixRing* ZIX_NONNULL ring,
ZixRingTransaction* ZIX_NONNULL tx,
@@ -193,6 +195,7 @@ zix_ring_amend_write(ZixRing* ZIX_NONNULL ring,
@param tx The active transaction, from zix_ring_begin_write().
@return #ZIX_STATUS_SUCCESS.
*/
+ZIX_API
ZixStatus
zix_ring_commit_write(ZixRing* ZIX_NONNULL ring,
const ZixRingTransaction* ZIX_NONNULL tx);