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