.\" Automatically generated man page, do not edit .TH QB_IPCS_CONNECTION_STATS_GET_2 3 2023-07-21 "LIBQB" "libqb Programmer's Manual" .SH NAME qb_ipcs_connection_stats_get_2 \- Get (and allocate) the connection statistics. .SH SYNOPSIS .nf .B #include .sp \fBstruct qb_ipcs_connection_stats_2 * qb_ipcs_connection_stats_get_2\fP( \fBqb_ipcs_connection_t *\fP\fIc\fP,\fR /* connection instance */ \fBint32_t \fP\fIclear_after_read\fP\fR /* clear stats after copying them into stats */ ); .fi .SH PARAMS \fBc \fP\fIconnection instance \fP .PP \fBclear_after_read \fP\fIclear stats after copying them into stats \fP .PP .SH DESCRIPTION .RE .SH RETURN VALUE .PP \fBNULL \fPif no memory or invalid connection .PP \fBallocated \fPstatistics structure (user must free it). .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_service_context_set\fR(3), \fIqb_ipcs_connection_stats_get\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.