logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

qb_hdb_handle_get_always - Get the instance associated with this handle and increase it's refcount.

Description

Name

       qb_hdb_handle_get_always - Get the instance associated with this handle and increase it's refcount.

Note

       This is currently an alias to qb_hdb_handle_get.

Params

hdbthedatabaseinstancehandle_inthehandleinstance(out)pointertothedesiredobject.

Return Value

       (0 == ok, -errno failure)

See Also

qb_hdb_handle_get(3), qb_hdb_iterator_reset(3), qb_hdb_handle_create(3), qb_hdb_handle_destroy(3),
       qb_hdb_handle_refcount_get(3), qb_hdb_iterator_next(3), qb_hdb_nocheck_convert(3), qb_hdb_create(3),
       qb_hdb_destroy(3), qb_hdb_base_convert(3), qb_hdb_handle_put(3)

Structures

structqb_hdb{uint32_thandle_count;qb_array_thandles;uint32_titerator;void(*destructor)(void*);uint32_tfirst_run;};

Synopsis

#include<qb/qbhdb.h>int32_tqb_hdb_handle_get_always(
           structqb_hdb*hdb,        /* the database instance */
           qb_handle_thandle_in,  /* the handle */
           void**instance    /* (out) pointer to the desired object. */
       );