QBIPCC.H(3)
β¨ NAME β¨
qbipcc.h β the Client IPC API, aka your bestie's side of the phone call π
πΈ SYNOPSIS πΈ
#include <qb/qbipcc.h>
π¦ DESCRIPTION π¦
π Lifecycle of an IPC connection
okay so listen. An IPC connection is literally a whole relationship arc, and here's how it goes.
You make the connection to the server with qb_ipcc_connect(). That function is the one that slides into the server's DMs and requests that channels get created for communication. Iconic. Then when you're done? To disconnect, the client either just exits, or it executes qb_ipcc_disconnect(). That's it. That's the whole situationship. π«Ά
β Synchronous communication
The function qb_ipcc_sendv_recv() sends an iovector request and receives a response. Send, then receive. Very "you text, they text back." No cap. β¨
π₯ Asynchronous requests from the client
- The function
qb_ipcc_sendv()sends an iovector request. - The function
qb_ipcc_send()sends an message buffer request.
(And yes bestie, "an message" is exactly what the original says β we do not edit the sacred text π)
π Asynchronous events from the server
The qb_ipcc_event_recv() function receives an out-of-band asynchronous message. These asynchronous messages are queued up, and they can provide very high out-of-band performance β like, the messages are literally waiting in line for you, it's giving VIP section.
And to figure out when to call qb_ipcc_event_recv()? You use the qb_ipcc_fd_get() call to obtain a file descriptor, and then you plug that fd into the poll() or select() system calls. That's your little notification bell π. iykyk.
π SEE ALSO π
Go read these next, bestie, they're all part of the same lore:
qb_ipcc_send(3)qb_ipcc_sendv_recv(3)qb_ipcc_recv(3)qb_ipcc_event_recv(3)qb_ipcc_connect_async(3)qb_ipcc_fc_enable_max_set(3)qb_ipcc_is_connected(3)qb_ipcc_connect_continue(3)qb_ipcc_auth_get(3)qb_ipcc_sendv(3)qb_ipcc_context_set(3)qb_ipcc_context_get(3)qb_ipcc_verify_dgram_max_msg_size(3)qb_ipcc_get_buffer_size(3)qb_ipcc_connect(3)qb_ipcc_disconnect(3)qb_ipcc_fd_get(3)
π COPYRIGHT π
Copyright (C) 2010-2020 Red Hat, Inc.
okay that's the whole page, you ate it, you understood it, you're literally the main character of IPC now π
and for the cute sign-off: this whole thing lives under LIBQB, dated 2025-09-16, and its little name is QBIPCC.H(3). periodt. π πΈ
π¦ 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