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
8

SYNOPSIS

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

PARAMS

18       hdb       the database instance
19
20       handle_in the handle
21

DESCRIPTION

STRUCTURES

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

RETURN VALUE

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

SEE ALSO

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