QB_HASHTABLE_CREATE(3)
π QB_HASHTABLE_CREATE(3) π
okay so bestie, welcome to the libqb Programmer's Manual β¨ this one's a lil baby page but it's lowkey iconic β it's how you manifest a whole unsorted map out of thin air, powered by a hashtable. no cap.
πΈ NAME πΈ
qb_hashtable_create β create an unsorted map based on a hashtable π
fr fr, that's the whole vibe: you want a map, the map is unsorted, and the engine under the hood is a hashtable.
β¨ SYNOPSIS β¨
#include <qb/qbmap.h>
qb_map_t * qb_hashtable_create(
size_t max_size /* maximum size of the hashtable*/
);
so you pull in qb/qbmap.h, and you call qb_hashtable_create with exactly one argument. that's it. that's the whole ritual π
π¦ PARAMS π¦
max_sizeβ maximum size of the hashtable. yes literally, that's the cap. that's what it means. the hashtable has a maximum size and this is it. π
π DESCRIPTION π
ngl bestie, this section is giving absolutely nothing β the original manpage leaves it empty, so we're leaving it empty too. no invented lore, we don't do that here π the SYNOPSIS and PARAMS said what needed to be said. periodt.
π RETURN VALUE π
- the map instance π«Ά
like, you get a map back. a whole map. main character energy.
heads up: qb_map_t * is the type you're catching it in, and it's a pointer, so treat it like the precious thing it is. β¨
π₯ SEE ALSO π₯
the whole squad, bestie β go read these next, they're all connected:
qb_trie_dump(3)qb_map_iter_create(3)qb_skiplist_create(3)qb_map_notify_del(3)qb_map_put(3)qb_map_count_get(3)qb_map_foreach(3)qb_map_pref_iter_create(3)qb_map_iter_next(3)qb_map_get(3)qb_map_destroy(3)qb_map_iter_free(3)qb_map_notify_add(3)qb_trie_create(3)qb_map_notify_del_2(3)qb_map_rm(3)
iykyk π
π COPYRIGHT π
Copyright (C) 2010-2020 Red Hat, Inc.
and that's the whole page, bestie!! π₯³ this beauty shipped as part of LIBQB on 2025-09-16 β mwah, slay, go make some maps πβ¨π¦
π¦ 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