upscaledb  2.2.1
Data Fields
ups_parameter_t Struct Reference

#include <upscaledb.h>

Data Fields

uint32_t name
uint64_t value

Detailed Description

A named parameter.

These parameter structures are used for functions like ups_env_open, ups_env_create, etc. to pass variable length parameter lists.

The lists are always arrays of type ups_parameter_t, with a terminating element of { 0, NULL}, e.g.

  ups_parameter_t parameters[] = {
   { UPS_PARAM_CACHE_SIZE, 2 * 1024 * 1024 }, // set cache size to 2 mb
   { UPS_PARAM_PAGE_SIZE, 4096 }, // set page size to 4 kb
   { 0, NULL }

Definition at line 298 of file upscaledb.h.

Field Documentation

uint32_t ups_parameter_t::name

The name of the parameter; all UPS_PARAM_*-constants

Definition at line 300 of file upscaledb.h.

uint64_t ups_parameter_t::value

The value of the parameter.

Definition at line 303 of file upscaledb.h.

The documentation for this struct was generated from the following file: