Whamcloud - gitweb
LU-16901 utils: l_getidentity with nss module support
[fs/lustre-release.git] / lustre / doc / llapi_changelog_in_buf.3
1 .TH llapi_changelog_in_buf 3 "2022-11-08" "" "Lustre User API"
2 .SH NAME
3 llapi_changelog_in_buf \- Check if there is changelog records in the internal buffer
4 .SH SYNOPSIS
5 .nf
6 .B #include <lustre/lustreapi.h>
7 .PP
8 .BI "int llapi_changelog_in_buf(void *" priv ");"
9 .fi
10 .SH DESCRIPTION
11 .PP
12 The function
13 .B llapi_changelog_in_buf()
14 checks if there are still changelog records in the read buffer for the
15 .I priv
16 instance.
17 .PP
18 .B llapi_changelog_in_buf()
19 with
20 .B llapi_changelog_recv()
21 can be used to dequeue all the changelog records still in the read buffer.
22 .SH RETURN VALUES
23 .PP
24 Return 1 if changelogs records are present in the internal read buffer,
25 otherwise return 0.
26 .SH "SEE ALSO"
27 .BR llapi_changelog_clear (3)
28 .BR llapi_changelog_get_fd (3),
29 .BR llapi_changelog_recv (3),
30 .BR llapi_changelog_start (3),
31 .BR lustreapi (7)