1QB_HDB_HANDLE_PUT(3)       libqb Programmer's Manual      QB_HDB_HANDLE_PUT(3)
2
3
4

NAME

6       qb_hdb_handle_put  -  Put  the instance associated with this handle and
7       decrease it's refcount.
8
9

SYNOPSIS

11       #include <qb/qbhdb.h>
12
13       int32_t qb_hdb_handle_put(
14           struct qb_hdb   *hdb,  /* the database instance */
15           qb_handle_t      handle_in        /* the handle */
16       );
17

PARAMS

19       hdb       the database instance
20
21       handle_in the handle
22

DESCRIPTION

STRUCTURES

25       struct qb_hdb {
26           uint32_t    handle_count;
27           qb_array_t  handles;
28           uint32_t    iterator;
29           void      (*destructor)(void *);
30           uint32_t    first_run;
31       };
32

RETURN VALUE

34       (0 == ok, -errno failure)
35

SEE ALSO

37       qb_hdb_handle_get(3), qb_hdb_iterator_reset(3),
38       qb_hdb_handle_create(3), qb_hdb_handle_destroy(3),
39       qb_hdb_handle_refcount_get(3), qb_hdb_iterator_next(3),
40       qb_hdb_nocheck_convert(3), qb_hdb_create(3), qb_hdb_destroy(3),
41       qb_hdb_base_convert(3), qb_hdb_handle_get_always(3),
42
44       Copyright (C) 2010-2020 Red Hat, Inc.
45
46
47
48LIBQB                             2021-11-12              QB_HDB_HANDLE_PUT(3)
Impressum