QB_IPCS_RE...RATE_LIMIT(3)
π qb_ipcs_request_rate_limit β from the libqb Programmer's Manual π
okay bestie, sit down, we're doing a libqb page today and it's literally one function. short king. but important, so pay attention π«Ά
β¨ NAME β¨
qb_ipcs_request_rate_limit β Limit the incoming request rate.
like. that's it. that's the whole job. it puts a leash on how fast requests come at you. π
πΈ SYNOPSIS πΈ
#include <qb/qbipcs.h>
void qb_ipcs_request_rate_limit(
qb_ipcs_service_t *s, /* service instance */
enum qb_ipcs_rate_limit rl /* the new rate */
);
no return value. it's a void. it just does the thing and leaves. main character behaviour honestly. β¨
π¦ PARAMS π¦
sβ the service instance. the actual service you're messing with. your girl. your project. the one whose vibe you're about to adjust.rlβ the new rate. it's anenum qb_ipcs_rate_limit, so it has to be one of the iconic little constants listed down below. π
π DESCRIPTION π
ngl bestie, the original page is quiet here. it says the name of the section and then moves straight on to the structures β no extra prose, no little story, nothing. so we're not inventing lore that isn't there. π the whole personality of this page lives in the name, the params and the enum, and we are respecting that.
π STRUCTURES π
this is the menu of rates you can pass in. your rl argument has to be one of these, periodt:
enum qb_ipcs_rate_limit {
QB_IPCS_RATE_FAST;
QB_IPCS_RATE_NORMAL;
QB_IPCS_RATE_SLOW;
QB_IPCS_RATE_OFF;
QB_IPCS_RATE_OFF_2;
};
five options, no notes. and yes, they're written with semicolons in the original β we are copying it character for character, no "fixing", no touching, hands off. π
π₯ SEE ALSO π₯
the full squad. every single one. go read them when you're done here:
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_connection_unref(3)qb_ipcs_context_set(3)qb_ipcs_poll_handlers_set(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.
okay that's the whole page bestie, you ate it, you understood it, you're basically a libqb girlie now ππ this one came out of the libqb manual and it's dated 2025-09-16 β go forth and rate-limit responsibly, ily, byeee π§β¨π¦
π¦ 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