.\" Automatically generated man page, do not edit .TH QB_HDB_HANDLE_GET_ALWAYS 3 2023-07-21 "LIBQB" "libqb Programmer's Manual" .SH NAME qb_hdb_handle_get_always \- Get the instance associated with this handle and increase it's refcount. .SH SYNOPSIS .nf .B #include .sp \fBint32_t qb_hdb_handle_get_always\fP( \fBstruct qb_hdb *\fP\fIhdb\fP,\fR /* the database instance */ \fBqb_handle_t \fP\fIhandle_in\fP,\fR /* the handle */ \fBvoid **\fP\fIinstance\fP\fR /* (out) pointer to the desired object. */ ); .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 { \fR \fB \fBuint32_t \fP\fIhandle_count\fP; \fB \fBqb_array_t \fP\fIhandles\fP; \fB \fBuint32_t \fP\fIiterator\fP; \fB \fBvoid (*\fP\fIdestructor)(void *)\fP; \fB \fBuint32_t \fP\fIfirst_run\fP; }; \fP .fi .PP .RE .SH RETURN VALUE .PP (0 == ok, -errno failure) .PP .SH NOTE .PP This is currently an alias to \fIqb_hdb_handle_get\fR. .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_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_put\fR(3) .ad .hy .SH "COPYRIGHT" .PP Copyright (C) 2010-2020 Red Hat, Inc.