.\" Automatically generated man page, do not edit .TH QB_HDB_HANDLE_CREATE 3 2020-10-31 "LIBQB" "libqb Programmer's Manual" .SH NAME qb_hdb_handle_create \- Create a new handle. .SH SYNOPSIS .nf .B #include .sp \fBint32_t qb_hdb_handle_create\fP( \fBstruct qb_hdb *\fP\fIhdb\fP, \fBint32_t \fP\fIinstance_size\fP, \fBqb_handle_t *\fP\fIhandle_id_out\fP ); .fi .SH PARAMS \fBhdb \fP\fIthe database instance \fP .PP \fBinstance_size \fP\fIsize of the object to malloc \fP .PP \fBhandle_id_out \fP\fInew handle \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_handle_get\fR(3), \fIqb_hdb_iterator_reset\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. All rights reserved.