.\" Automatically generated man page, do not edit .TH QB_IPCS_CONNECTION_STATS_GET 3 2023-07-21 "LIBQB" "libqb Programmer's Manual" .SH NAME qb_ipcs_connection_stats_get \- Get the connection statistics. .SH SYNOPSIS .nf .B #include .sp \fBint32_t qb_ipcs_connection_stats_get\fP( \fBqb_ipcs_connection_t *\fP\fIc\fP,\fR /* connection instance */ \fBstruct qb_ipcs_connection_stats *\fP\fIstats\fP,\fR /* (out) the statistics structure */ \fBint32_t \fP\fIclear_after_read\fP\fR /* clear stats after copying them into stats */ ); .fi .SH PARAMS \fBc \fP\fIconnection instance \fP .PP \fBstats \fP\fI(out) the statistics structure \fP .PP \fBclear_after_read \fP\fIclear stats after copying them into stats \fP .PP .SH DESCRIPTION .SH STRUCTURES .nf \fB struct qb_ipcs_connection_stats { \fR \fB \fBint32_t \fP\fIclient_pid\fP; \fB \fBuint64_t \fP\fIrequests\fP; \fB \fBuint64_t \fP\fIresponses\fP; \fB \fBuint64_t \fP\fIevents\fP; \fB \fBuint64_t \fP\fIsend_retries\fP; \fB \fBuint64_t \fP\fIrecv_retries\fP; \fB \fBint32_t \fP\fIflow_control_state\fP; \fB \fBuint64_t \fP\fIflow_control_count\fP; }; \fP .fi .PP .RE .SH RETURN VALUE .PP 0 == ok; -errno to indicate a failure .PP .SH SEE ALSO .PP .nh .ad l \fIqb_ipcs_response_send\fR(3), \fIqb_ipcs_ref\fR(3), \fIqb_ipcs_unref\fR(3), \fIqb_ipcs_connection_auth_set\fR(3), \fIqb_ipcs_service_context_get\fR(3), \fIqb_ipcs_connection_ref\fR(3), \fIqb_ipcs_connection_next_get\fR(3), \fIqb_ipcs_stats_get\fR(3), \fIqb_ipcs_connection_unref\fR(3), \fIqb_ipcs_context_set\fR(3), \fIqb_ipcs_poll_handlers_set\fR(3), \fIqb_ipcs_request_rate_limit\fR(3), \fIqb_ipcs_disconnect\fR(3), \fIqb_ipcs_connection_first_get\fR(3), \fIqb_ipcs_enforce_buffer_size\fR(3), \fIqb_ipcs_destroy\fR(3), \fIqb_ipcs_event_send\fR(3), \fIqb_ipcs_connection_stats_get_2\fR(3), \fIqb_ipcs_service_context_set\fR(3), \fIqb_ipcs_service_id_get\fR(3), \fIqb_ipcs_context_get\fR(3), \fIqb_ipcs_connection_get_buffer_size\fR(3), \fIqb_ipcs_create\fR(3), \fIqb_ipcs_run\fR(3), \fIqb_ipcs_event_sendv\fR(3), \fIqb_ipcs_connection_service_context_get\fR(3), \fIqb_ipcs_response_sendv\fR(3) .ad .hy .SH "COPYRIGHT" .PP Copyright (C) 2010-2020 Red Hat, Inc.