Viewing: llapi_changelog_in_buf.3

.TH LLAPI_CHANGELOG_IN_BUF 3 2024-08-22 "Lustre User API" "Lustre Library Functions"
.SH NAME
llapi_changelog_in_buf \- Check if there is changelog records in the internal buffer
.SH SYNOPSIS
.nf
.B #include <lustre/lustreapi.h>
.PP
.BI "int llapi_changelog_in_buf(void *" priv ");"
.fi
.SH DESCRIPTION
The function
.B llapi_changelog_in_buf()
checks if there are still changelog records in the read buffer for the
.I priv
instance.
.PP
.B llapi_changelog_in_buf()
with
.B llapi_changelog_recv()
can be used to dequeue all the changelog records still in the read buffer.
.SH RETURN VALUES
Returns 1 if changelogs records are present in the internal read buffer,
otherwise return 0.
.SH AVAILABILITY
.B llapi_changelog_in_buf
is part of the
.BR lustre (7)
user application interface library since release 2.13.0
\# Added in commit 2.12.56-87-ge215002883
.SH SEE ALSO
.BR llapi_changelog_clear (3),
.BR llapi_changelog_get_fd (3),
.BR llapi_changelog_recv (3),
.BR llapi_changelog_start (3),
.BR llapi_changelog_start_user (3),
.BR lustreapi (7)