57#define HDB_D_FORMAT QB_HDB_D_FORMAT
58#define HDB_X_FORMAT QB_HDB_X_FORMAT
60#define hdb_handle_database qb_hdb
66static inline void hdb_database_lock (pthread_mutex_t *mutex)
68 pthread_mutex_lock (mutex);
75static inline void hdb_database_unlock (pthread_mutex_t *mutex)
77 pthread_mutex_unlock (mutex);
84static inline void hdb_database_lock_init (pthread_mutex_t *mutex)
86 pthread_mutex_init (mutex, NULL);
93static inline void hdb_database_lock_destroy (pthread_mutex_t *mutex)
95 pthread_mutex_destroy (mutex);
98#define DECLARE_HDB_DATABASE QB_HDB_DECLARE
104static inline void hdb_create (
107 qb_hdb_create (handle_database);
114static inline void hdb_destroy (
117 qb_hdb_destroy (handle_database);
127static inline int hdb_handle_create (
132 return (qb_hdb_handle_create (handle_database, instance_size,
143static inline int hdb_handle_get (
148 return (qb_hdb_handle_get (handle_database, handle_in, instance));
158static inline int hdb_handle_get_always (
163 return (qb_hdb_handle_get_always (handle_database, handle_in, instance));
172static inline int hdb_handle_put (
176 return (qb_hdb_handle_put (handle_database, handle_in));
185static inline int hdb_handle_destroy (
189 return (qb_hdb_handle_destroy (handle_database, handle_in));
198static inline int hdb_handle_refcount_get (
202 return (qb_hdb_handle_refcount_get (handle_database, handle_in));
209static inline void hdb_iterator_reset (
212 qb_hdb_iterator_reset (handle_database);
222static inline int hdb_iterator_next (
227 return (qb_hdb_iterator_next (handle_database, instance, handle));
235static inline unsigned int hdb_base_convert (
hdb_handle_t handle)
237 return (qb_hdb_base_convert (handle));
245static inline unsigned long long hdb_nocheck_convert (
unsigned int handle)
247 return (qb_hdb_nocheck_convert (handle));
#define hdb_handle_database