QB_HDB_CREATE(3) libqb Programmer's Manual QB_HDB_CREATE(3)

qb_hdb_create - Create a new database.

#include <qb/qbhdb.h>

void qb_hdb_create(
    struct qb_hdb   *hdb
);

hdb the database to init.


struct qb_hdb {
    uint32_t    handle_count;
    qb_array_t  handles;
    uint32_t    iterator;
    void      (*destructor)(void *);
    uint32_t    first_run;
};

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 (C) 2010-2020 Red Hat, Inc.

2021-03-03 LIBQB