.\" Automatically generated man page, do not edit .TH QB_HDB_HANDLE_DESTROY 3 2020-10-31 "LIBQB" "libqb Programmer's Manual" .SH NAME qb_hdb_handle_destroy \- Request the destruction of the object. .SH SYNOPSIS .nf .B #include .sp \fBint32_t qb_hdb_handle_destroy\fP( \fBstruct qb_hdb *\fP\fIhdb\fP, \fBqb_handle_t \fP\fIhandle_in\fP ); .fi .SH PARAMS \fBhdb \fP\fIthe database instance \fP .PP \fBhandle_in \fP\fIthe handle \fP .PP .SH DESCRIPTION .PP When the refcount is 0, it will be destroyed. .SH STRUCTURES .nf \fB struct qb_hdb { uint32_t \fIhandle_count\fP; qb_array_t \fIhandles\fP; uint32_t \fIiterator\fP; void (*\fIdestructor)(void *)\fP; uint32_t \fIfirst_run\fP; }; \fP .fi .PP .RE .SH RETURN VALUE .PP (0 == ok, -errno failure) .PP .SH SEE ALSO .PP .nh .ad l \fIqb_hdb_handle_get\fR(3), \fIqb_hdb_iterator_reset\fR(3), \fIqb_hdb_handle_create\fR(3), \fIqb_hdb_handle_refcount_get\fR(3), \fIqb_hdb_iterator_next\fR(3), \fIqb_hdb_nocheck_convert\fR(3), \fIqb_hdb_create\fR(3), \fIqb_hdb_destroy\fR(3), \fIqb_hdb_base_convert\fR(3), \fIqb_hdb_handle_get_always\fR(3), \fIqb_hdb_handle_put\fR(3) .ad .hy .SH "COPYRIGHT" .PP Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.