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:


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