.\" Automatically generated man page, do not edit .TH QB_HDB_HANDLE_GET 3 2021-03-03 "LIBQB" "libqb Programmer's Manual" .SH NAME qb_hdb_handle_get \- Get the instance associated with this handle and increase it's refcount. .SH SYNOPSIS .nf .B #include .sp \fBint32_t qb_hdb_handle_get\fP( \fBstruct qb_hdb *\fP\fIhdb\fP, \fBqb_handle_t \fP\fIhandle_in\fP, \fBvoid **\fP\fIinstance\fP ); .fi .SH PARAMS \fBhdb \fP\fIthe database instance \fP .PP \fBhandle_in \fP\fIthe handle \fP .PP \fBinstance \fP\fI(out) pointer to the desired object. \fP .PP .SH DESCRIPTION .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_iterator_reset\fR(3), \fIqb_hdb_handle_create\fR(3), \fIqb_hdb_handle_destroy\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.