QB_HDB_CREATE(3)
π QB_HDB_CREATE(3) π
okay bestie, welcome to the libqb Programmer's Manual β¨ this one's a lil baby function, but it's lowkey the main character of every hdb origin story. let's get into it π«Ά
β¨ NAME β¨
qb_hdb_create β Create a new database.
πΈ SYNOPSIS πΈ
#include <qb/qbhdb.h>
void qb_hdb_create(
struct qb_hdb *hdb /* the database to init. */
);
π PARAMS π
hdbβ the database to init. that's it. that's the whole arg list. give her the struct and let her cook π
π¦ DESCRIPTION π¦
soooo the DESCRIPTION section is literally just sitting there empty, no cap. the name says it all: you call qb_hdb_create, and boom π₯ a database gets created. she's a void function, she returns nothing, she simply is π₯
β STRUCTURES β
here's the struct you're working with, look at her, she's iconic π
struct qb_hdb {
uint32_t handle_count;
qb_array_t handles;
uint32_t iterator;
void (*destructor)(void *);
uint32_t first_run;
};
π SEE ALSO π
the whole hdb friend group, fr fr β go read these next:
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_destroy(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.
bestie you made it to the end π₯Ή this page was brought to you by LIBQB, dated 2025-09-16 β go forth and create databases, you absolute icon π§πβ¨
π¦ 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