QB_HDB_DESTROY(3)
π QB_HDB_DESTROY(3) β the libqb Programmer's Manual, but make it cute π
okay bestie, sit down, hydrate, and let's talk about qb_hdb_destroy from libqb. she's a tiny little function with one job and honestly? she ate. π«Ά
β¨ NAME β¨
qb_hdb_destroyβ Destroy a handle database. that's it. that's the whole assignment. π
πΈ SYNOPSIS πΈ
#include <qb/qbhdb.h>
void qb_hdb_destroy(
struct qb_hdb *hdb /* the database to destroy. */
);
no return value, no drama, just void and a pointer. iconic behaviour fr fr. β¨
π PARAMS π
hdbβ the database to destroy. (yes, the manpage really just says "the database to destroy" twice. she's consistent, we respect it. π)
π¦ DESCRIPTION π¦
bestie. not me having to tell you this. π«£ the DESCRIPTION section of this page is literally empty. blank. no lore. the whole vibe lives in STRUCTURES, so scroll your little heart down. β¬οΈ
π STRUCTURES π
here's the whole squad, exactly as written:
struct qb_hdb {
uint32_t handle_count;
qb_array_t handles;
uint32_t iterator;
void (*destructor)(void *);
uint32_t first_run;
};
the lineup, one by one, no notes:
handle_countβ auint32_t, holding down the count spot. πhandlesβ aqb_array_t, the array of the situation. π§iteratorβ auint32_t, sitting there being an iterator. πdestructorβ a function pointer,void (*)(void *), and yes she's the main character of this struct ngl. π₯first_runβ auint32_t. first. run. the name says it all bestie. β
π SEE ALSO π
the whole friend group, go say hi:
qb_hdb_handle_get(3)qb_hdb_iterator_reset(3)qb_hdb_handle_create(3)qb_hdb_handle_destroy(3)qb_hdb_handle_refcount_get(3)qb_hdb_iterator_next(3)qb_hdb_nocheck_convert(3)qb_hdb_create(3)qb_hdb_base_convert(3)qb_hdb_handle_get_always(3)qb_hdb_handle_put(3)
π COPYRIGHT π
Copyright (C) 2010-2020 Red Hat, Inc.
and that's the page, bestie! π this was LIBQB, dated 2025-09-16, filed under QB_HDB_DESTROY(3) β go forth and destroy responsibly. 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