QB_IPCS_CO...TION_UNREF(3)
π qb_ipcs_connection_unref β libqb Programmer's Manual π
okay bestie, welcome to the libqb corner of the manual, section 3, and today's main character is qb_ipcs_connection_unref. she's short, she's sweet, and she does exactly one (1) thing. let's get into it π«Ά
β¨ NAME β¨
qb_ipcs_connection_unref β Decrement the connection's reference counter. π
yes literally that's it. she's the "you can leave now, thanks for coming" of the connection world. the vibe check is: one less ref, periodt. π
πΈ SYNOPSIS πΈ
#include <qb/qbipcs.h>
void qb_ipcs_connection_unref(
qb_ipcs_connection_t *c /* connection instance */
);
ok so first things first: you gotta pull in the header <qb/qbipcs.h> β no header, no function, that's the rules fr fr.
and then it's just qb_ipcs_connection_unref(c). returns void, meaning she gives you nothing back. no status code, no lil bool, no nothing. she's not here to gossip, she's here to decrement. π
π PARAMS π
cβ connection instance
that's the one and only argument, bestie. the connection instance. that's the thing you're un-reffing. she needs to know which connection we're talking about, so hand her the pointer and let her cook. π
π¦ DESCRIPTION π¦
sooooo... the original page literally has nothing here. an empty section. a blank canvas. the silence is giving mysterious β¨. (we are not gonna make anything up about what she does beyond her name and her signature β that would be lying and we don't do that here. the reference counter gets decremented. that's the whole tea. iykyk.) π
π₯ SEE ALSO π₯
go read her friends, they're all iconic in their own ways:
qb_ipcs_response_send(3)qb_ipcs_ref(3)qb_ipcs_unref(3)qb_ipcs_connection_auth_set(3)qb_ipcs_service_context_get(3)qb_ipcs_connection_ref(3)qb_ipcs_connection_next_get(3)qb_ipcs_stats_get(3)qb_ipcs_context_set(3)qb_ipcs_poll_handlers_set(3)qb_ipcs_request_rate_limit(3)qb_ipcs_disconnect(3)qb_ipcs_connection_first_get(3)qb_ipcs_enforce_buffer_size(3)qb_ipcs_destroy(3)qb_ipcs_event_send(3)qb_ipcs_connection_stats_get_2(3)qb_ipcs_service_context_set(3)qb_ipcs_connection_stats_get(3)qb_ipcs_service_id_get(3)qb_ipcs_context_get(3)qb_ipcs_connection_get_buffer_size(3)qb_ipcs_create(3)qb_ipcs_run(3)qb_ipcs_event_sendv(3)qb_ipcs_connection_service_context_get(3)qb_ipcs_response_sendv(3)
π COPYRIGHT π
Copyright (C) 2010-2020 Red Hat, Inc.
and that's the whole page, bestie, we ate and left no crumbs π
β¨ this lil masterpiece lives in the libqb manual and is dated 2025-09-16 β screenshot it, bookmark it, print it out and put it on your wall, mwah πππ¦
π¦ where this page comes from
- fedora 44: libqb-devel 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- fedora 44: libqb-devel 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- ubuntu resolute: libqb-dev 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- ubuntu stonking: libqb-dev 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms