qb_hdb_handle_destroy - Request the destruction of the object.
Contents
Copyright
Copyright (C) 2010-2020 Red Hat, Inc.
LIBQB 2023-07-21 QB_HDB_HANDLE_DESTROY(3)
Description
When the refcount is 0, it will be destroyed.
Name
qb_hdb_handle_destroy - Request the destruction of the object.
Params
hdbthedatabaseinstancehandle_inthehandle
Return Value
(0 == ok, -errno failure)
See Also
qb_hdb_handle_get(3), qb_hdb_iterator_reset(3), qb_hdb_handle_create(3), qb_hdb_handle_refcount_get(3), qb_hdb_iterator_next(3), qb_hdb_nocheck_convert(3), qb_hdb_create(3), qb_hdb_destroy(3), qb_hdb_base_convert(3), qb_hdb_handle_get_always(3), qb_hdb_handle_put(3)
Structures
structqb_hdb{uint32_thandle_count;qb_array_thandles;uint32_titerator;void(*destructor)(void*);uint32_tfirst_run;};Synopsis
#include<qb/qbhdb.h>int32_tqb_hdb_handle_destroy(
structqb_hdb*hdb, /* the database instance */
qb_handle_thandle_in /* the handle */
);
