upscaledb  2.2.1
Data Structures | Macros | Typedefs | Functions
upscaledb_int.h File Reference

Internal upscaledb functions. More...

#include <ups/types.h>
#include <ups/upscaledb.h>

Go to the source code of this file.

Data Structures

struct  min_max_avg_u32_t
 
struct  btree_metrics_t
 
struct  ups_env_metrics_t
 
struct  ups_operation_t
 

Macros

#define ups_key_get_intflags(key)   (key)->_flags
 
#define ups_key_set_intflags(key, f)   (key)->_flags=(f)
 
#define UPS_PRINT_GRAPH   1
 
#define UPS_METRICS_VERSION   9
 
#define UPS_OP_INSERT   1
 
#define UPS_OP_ERASE   2
 
#define UPS_OP_FIND   3
 

Typedefs

typedef struct min_max_avg_u32_t min_max_avg_u32_t
 
typedef struct btree_metrics_t btree_metrics_t
 
typedef struct ups_env_metrics_t ups_env_metrics_t
 

Functions

UPS_EXPORT int UPS_CALLCONV ups_key_get_approximate_match_type (ups_key_t *key)
 
UPS_EXPORT ups_status_t UPS_CALLCONV ups_db_check_integrity (ups_db_t *db, uint32_t flags)
 
UPS_EXPORT void UPS_CALLCONV ups_set_context_data (ups_db_t *db, void *data)
 
UPS_EXPORT void *UPS_CALLCONV ups_get_context_data (ups_db_t *db, ups_bool_t dont_lock)
 
UPS_EXPORT ups_db_t *UPS_CALLCONV ups_cursor_get_database (ups_cursor_t *cursor)
 
UPS_EXPORT ups_status_t UPS_CALLCONV ups_env_get_metrics (ups_env_t *env, ups_env_metrics_t *metrics)
 
UPS_EXPORT ups_bool_t UPS_CALLCONV ups_is_debug ()
 
UPS_EXPORT uint32_t UPS_CALLCONV ups_calc_compare_name_hash (const char *zname)
 
UPS_EXPORT uint32_t UPS_CALLCONV ups_db_get_compare_name_hash (ups_db_t *db)
 
UPS_EXPORT uint16_t UPS_CALLCONV ups_db_get_name (ups_db_t *hdb)
 
UPS_EXPORT uint32_t UPS_CALLCONV ups_db_get_flags (ups_db_t *hdb)
 
UPS_EXPORT ups_db_t *UPS_CALLCONV ups_env_get_open_database (ups_env_t *env, uint16_t name)
 
UPS_EXPORT void UPS_CALLCONV ups_set_committed_flush_threshold (int threshold)
 
UPS_EXPORT void UPS_CALLCONV ups_at_exit ()
 
UPS_EXPORT ups_status_t UPS_CALLCONV ups_db_bulk_operations (ups_db_t *db, ups_txn_t *txn, struct ups_operation_t *operations, size_t operations_length, uint32_t flags)
 

Detailed Description

Internal upscaledb functions.

Author
Christoph Rupp, chris.nosp@m.@cru.nosp@m.pp.de

Please be aware that the interfaces in this file are mostly for internal use. Unlike those in upscaledb.h they are not stable and can be changed with every new version.

Definition in file upscaledb_int.h.