1QB_HDB_HANDLE_REFCOUNT_GET(3l)ibqb Programmer's ManuQaBl_HDB_HANDLE_REFCOUNT_GET(3)
2
3
4

NAME

6       qb_hdb_handle_refcount_get - Get the current refcount.
7

SYNOPSIS

9       #include <qb/qbhdb.h>
10
11       int32_t qb_hdb_handle_refcount_get(
12           struct qb_hdb   *hdb,
13           qb_handle_t      handle_in
14       );
15

PARAMS

17       hdb       the database instance
18
19       handle_in the handle
20

DESCRIPTION

STRUCTURES

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

RETURN VALUE

32       (>= 0 is the refcount, -errno failure)
33

SEE ALSO

35       qb_hdb_handle_get(3), qb_hdb_iterator_reset(3),
36       qb_hdb_handle_create(3), qb_hdb_handle_destroy(3),
37       qb_hdb_iterator_next(3), qb_hdb_nocheck_convert(3), qb_hdb_create(3),
38       qb_hdb_destroy(3), qb_hdb_base_convert(3), qb_hdb_handle_get_always(3),
39       qb_hdb_handle_put(3)
40
42       Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
43
44
45
46LIBQB                             2020-07-30     QB_HDB_HANDLE_REFCOUNT_GET(3)
Impressum