qb_ipcs_connection_stats_get_2(3)

qb_ipcs_connection_stats_get_23

Get (and allocate) the connection statistics.

Usage

#include <qb/qbipcs.h>

struct qb_ipcs_connection_stats_2 * qb_ipcs_connection_stats_get_2(
    qb_ipcs_connection_t   *c,                 /* connection instance */
    int32_t                 clear_after_read   /* clear stats after copying them into stats */
);

Params

c connection instance

clear_after_read clear stats after copying them into stats

Overview

Return value

NULL if no memory or invalid connection

allocated statistics structure (user must free it).

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

From libqb 2.0.10-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.